tests/test-extdiff.t
branchstable
changeset 33613 3b77d4787c18
parent 32938 b6776b34e44e
child 36029 d83fc41dabf3
--- a/tests/test-extdiff.t	Mon Jul 31 13:16:34 2017 +0900
+++ b/tests/test-extdiff.t	Tue Aug 01 01:27:32 2017 +0900
@@ -263,8 +263,16 @@
 will change to /tmp/extdiff.TMP and populate directories a.TMP and a
 and start tool
 
+#if windows
+  $ cat > 'diff tool.bat' << EOF
+  > @$PYTHON "`pwd`/diff tool.py"
+  > EOF
+  $ hg extdiff -p "`pwd`/diff tool.bat"
+  [1]
+#else
   $ hg extdiff -p "`pwd`/diff tool.py"
   [1]
+#endif
 
 Diff in working directory, after: