tests: stabilize test-extdiff.t on Windows
authorMatt Harbison <matt_harbison@yahoo.com>
Fri, 06 Dec 2019 23:49:03 -0500
changeset 43822 fb03cd716f50
parent 43821 ea97cd64c500
child 43823 3d53f9cc73ab
tests: stabilize test-extdiff.t on Windows This goes with 765a9c299c44. I'm not sure if we care about the missing file being spelled `nul`, so I removed it from the glob to be explicit about it. The line needed to be special cased anyway because of the quoting on Windows. Differential Revision: https://phab.mercurial-scm.org/D7572
tests/test-extdiff.t
--- a/tests/test-extdiff.t	Sat Dec 07 22:09:43 2019 -0500
+++ b/tests/test-extdiff.t	Fri Dec 06 23:49:03 2019 -0500
@@ -525,17 +525,21 @@
   $ echo a > a
   $ hg add a
   $ hg falabala
-  diffing * */a (glob)
+  diffing nul "*\\a" (glob) (windows !)
+  diffing /dev/null */a (glob) (no-windows !)
   [1]
   $ hg ci -qm a
   $ hg falabala -c .
-  diffing * */a (glob)
+  diffing nul "*\\a" (glob) (windows !)
+  diffing /dev/null */a (glob) (no-windows !)
   [1]
   $ echo a >> a
   $ hg falabala
-  diffing */a */a (glob)
+  diffing "*\\a" "*\\a" (glob) (windows !)
+  diffing */a */a (glob) (no-windows !)
   [1]
   $ hg ci -qm 2a
   $ hg falabala -c .
-  diffing */a */a (glob)
+  diffing "*\\a" "*\\a" (glob) (windows !)
+  diffing */a */a (glob) (no-windows !)
   [1]