tests: convert directory separators to '/' for MSYS in test-check-py-compat
authorMatt Harbison <matt_harbison@yahoo.com>
Wed, 16 Dec 2015 17:22:37 -0500
changeset 27438 f121cf57ca9a
parent 27437 52ae742c8035
child 27439 ed003859f1d8
tests: convert directory separators to '/' for MSYS in test-check-py-compat This is the same fix as 8c1d7a0e737b.
tests/test-check-py3-compat.t
--- a/tests/test-check-py3-compat.t	Wed Dec 16 17:17:36 2015 -0500
+++ b/tests/test-check-py3-compat.t	Wed Dec 16 17:22:37 2015 -0500
@@ -2,7 +2,7 @@
 
   $ cd "$TESTDIR"/..
 
-  $ hg files 'set:(**.py)' | xargs python contrib/check-py3-compat.py
+  $ hg files 'set:(**.py)' | sed 's|\\|/|g' | xargs python contrib/check-py3-compat.py
   contrib/casesmash.py not using absolute_import
   contrib/check-code.py not using absolute_import
   contrib/check-code.py requires print_function