tests: adjust recent output changes for Windows
authorMatt Harbison <matt_harbison@yahoo.com>
Sun, 04 Jun 2017 20:11:59 -0400
changeset 32678 bcb6684d144b
parent 32677 f840b2621cce
child 32679 3d488079750b
tests: adjust recent output changes for Windows
tests/test-dirstate-race.t
tests/test-subrepo.t
--- a/tests/test-dirstate-race.t	Mon May 22 21:45:02 2017 -0400
+++ b/tests/test-dirstate-race.t	Sun Jun 04 20:11:59 2017 -0400
@@ -45,7 +45,7 @@
 #endif
 
   $ hg add b dir1 d e
-  adding dir1/c
+  adding dir1/c (glob)
   $ hg commit -m test2
 
   $ cat >> $TESTTMP/dirstaterace.py << EOF
--- a/tests/test-subrepo.t	Mon May 22 21:45:02 2017 -0400
+++ b/tests/test-subrepo.t	Sun Jun 04 20:11:59 2017 -0400
@@ -1020,12 +1020,12 @@
   $ hg cat sub/repo/foo
   test
   test
-  $ hg cat sub/repo/foo -Tjson
+  $ hg cat sub/repo/foo -Tjson | sed 's|\\\\|/|g'
   [
    {
     "abspath": "foo",
     "data": "test\ntest\n",
-    "path": "sub/repo/foo" (glob)
+    "path": "sub/repo/foo"
    }
   ]
   $ mkdir -p tmp/sub/repo