changeset 15569:3e13ade423f0

tests: use an alias to make msys 'pwd' return paths with forward slashes
author Mads Kiilerich <mads@kiilerich.com>
date Mon, 21 Nov 2011 01:49:20 +0100
parents 08635f4e44be
children a5e5c64cd90b
files tests/run-tests.py
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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'