run-tests: convert the remaining os.system() call to Unicode
authorMatt Harbison <matt_harbison@yahoo.com>
Sun, 16 Sep 2018 23:13:05 -0400
changeset 39663 b6fa1f628bbe
parent 39662 50f46b771921
child 39664 322aaf80acf3
run-tests: convert the remaining os.system() call to Unicode I wasn't able to hit this path in 543a788eea2d, but I have now when I accidentally left off `--local`.
tests/run-tests.py
--- a/tests/run-tests.py	Sat Sep 15 13:31:41 2018 -0400
+++ b/tests/run-tests.py	Sun Sep 16 23:13:05 2018 -0400
@@ -2976,7 +2976,7 @@
         makedirs(self._bindir)
 
         vlog("# Running", cmd)
-        if os.system(cmd) == 0:
+        if os.system(_strpath(cmd)) == 0:
             if not self.options.verbose:
                 try:
                     os.remove(installerrs)