tests: use an alias to make msys 'pwd' return paths with forward slashes
authorMads Kiilerich <mads@kiilerich.com>
Mon, 21 Nov 2011 01:49:20 +0100
changeset 15569 3e13ade423f0
parent 15568 08635f4e44be
child 15573 a5e5c64cd90b
tests: use an alias to make msys 'pwd' return paths with forward slashes
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'