##// END OF EJS Templates
tests: decode bytes path to hg command before hitting with shellquote
Augie Fackler -
r34268:25fce08b default
parent child Browse files
Show More
@@ -2104,7 +2104,7 b' class TextTestRunner(unittest.TextTestRu'
2104 opts = ''
2104 opts = ''
2105 withhg = self._runner.options.with_hg
2105 withhg = self._runner.options.with_hg
2106 if withhg:
2106 if withhg:
2107 opts += ' --with-hg=%s ' % shellquote(withhg)
2107 opts += ' --with-hg=%s ' % shellquote(_strpath(withhg))
2108 rtc = '%s %s %s %s' % (sys.executable, sys.argv[0], opts,
2108 rtc = '%s %s %s %s' % (sys.executable, sys.argv[0], opts,
2109 test)
2109 test)
2110 sub = subprocess.Popen(bisectcmd + ['--command', rtc],
2110 sub = subprocess.Popen(bisectcmd + ['--command', rtc],
General Comments 0
You need to be logged in to leave comments. Login now