tests: use an alias to make msys 'pwd' return paths with forward slashes stable
authorMads Kiilerich <mads@kiilerich.com>
Mon, 21 Nov 2011 01:49:20 +0100
branchstable
changeset 1033 8cbcb86e4fa8
parent 1032 5923d03569b3
child 1034 0350b6b64aff
child 1035 53da6702a77f
tests: use an alias to make msys 'pwd' return paths with forward slashes [ original upstream message ]
tests/run-tests.py
--- a/tests/run-tests.py	Mon Nov 21 01:49:20 2011 +0100
+++ b/tests/run-tests.py	Mon Nov 21 01:49:20 2011 +0100
@@ -593,6 +593,8 @@
     f.close()
 
     script = []
+    if os.getenv('MSYSTEM'):
+        script.append('alias pwd="pwd -W"\n')
     for n, l in enumerate(t):
         if not l.endswith('\n'):
             l += '\n'