Show More
@@ -1341,7 +1341,11 b' class TTest(Test):' | |||||
1341 | if os.getenv('MSYSTEM'): |
|
1341 | if os.getenv('MSYSTEM'): | |
1342 | script.append(b'alias pwd="pwd -W"\n') |
|
1342 | script.append(b'alias pwd="pwd -W"\n') | |
1343 | if self._case: |
|
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 | script.append(b'export TESTCASE\n') |
|
1349 | script.append(b'export TESTCASE\n') | |
1346 |
|
1350 | |||
1347 | n = 0 |
|
1351 | n = 0 |
General Comments 0
You need to be logged in to leave comments.
Login now