##// END OF EJS Templates
tests: get run-tests to reliably hand shellquote a string and not a bytes...
Augie Fackler -
r35841:4be99133 default
parent child Browse files
Show More
@@ -1341,7 +1341,11 b' class TTest(Test):'
1341 1341 if os.getenv('MSYSTEM'):
1342 1342 script.append(b'alias pwd="pwd -W"\n')
1343 1343 if self._case:
1344 script.append(b'TESTCASE=%s\n' % shellquote(self._case))
1344 if isinstance(self._case, str):
1345 quoted = shellquote(self._case)
1346 else:
1347 quoted = shellquote(self._case.decode('utf8')).encode('utf8')
1348 script.append(b'TESTCASE=%s\n' % quoted)
1345 1349 script.append(b'export TESTCASE\n')
1346 1350
1347 1351 n = 0
General Comments 0
You need to be logged in to leave comments. Login now