Commit b3d3c880 authored by Julien Muchembled's avatar Julien Muchembled

testXHTML: update default place of w3c validator

parent 0ee3eaa0
......@@ -693,8 +693,8 @@ validator = None
# tidy or w3c may not be installed in livecd. Then we will skip xhtml validation tests.
# create the validator object
if validator_to_use == 'w3c':
default = '/usr/share/w3c-markup-validator/cgi-bin:/usr/lib/cgi-bin'
validator_path_list = os.environ.get('CGI_PATH', default).split(os.pathsep)
validator_path_list = os.environ.get('CGI_PATH',
'/usr/lib/cgi-bin:/usr/lib/cgi-bin/w3c-markup-validator').split(os.pathsep)
for path in validator_path_list:
validator_path = os.path.join(path, 'check')
if os.path.exists(validator_path):
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment