# HG changeset patch # User Augie Fackler # Date 1505794092 14400 # Node ID 25fce08b36c8b14c9742be9389940667fab1fc23 # Parent cd2ee4db8f9591c60a46c77fc0c82812268e3a05 tests: decode bytes path to hg command before hitting with shellquote diff -r cd2ee4db8f95 -r 25fce08b36c8 tests/run-tests.py --- a/tests/run-tests.py Tue Sep 19 00:07:51 2017 -0400 +++ b/tests/run-tests.py Tue Sep 19 00:08:12 2017 -0400 @@ -2104,7 +2104,7 @@ opts = '' withhg = self._runner.options.with_hg if withhg: - opts += ' --with-hg=%s ' % shellquote(withhg) + opts += ' --with-hg=%s ' % shellquote(_strpath(withhg)) rtc = '%s %s %s %s' % (sys.executable, sys.argv[0], opts, test) sub = subprocess.Popen(bisectcmd + ['--command', rtc],