tests/test-run-tests.t
branchstable
changeset 24811 a2dcf460e141
parent 24507 a0668a587c04
child 24960 65e8dac7b016
child 24979 f44db7343be9
--- a/tests/test-run-tests.t	Fri Apr 17 09:46:43 2015 -0700
+++ b/tests/test-run-tests.t	Fri Apr 17 14:12:01 2015 -0700
@@ -491,3 +491,17 @@
   } (no-eol)
 
 #endif
+
+backslash on end of line with glob matching is handled properly
+
+  $ cat > test-glob-backslash.t << EOF
+  >   $ echo 'foo bar \\'
+  >   foo * \ (glob)
+  > EOF
+
+  $ $TESTDIR/run-tests.py --with-hg=`which hg` test-glob-backslash.t
+  .
+  # Ran 1 tests, 0 skipped, 0 warned, 0 failed.
+
+  $ rm -f test-glob-backslash.t
+