tests/test-run-tests.t
changeset 17778 80fe64581f3a
parent 17777 af7c6bc48d8d
child 17799 327fbe0b84fd
--- a/tests/test-run-tests.t	Mon Oct 15 02:33:12 2012 +0200
+++ b/tests/test-run-tests.t	Sun Oct 14 18:30:42 2012 +0200
@@ -62,6 +62,18 @@
   crcrlf\r (esc)
 #endif
 
+Combining esc with other markups - and handling lines ending with \r instead of \n:
+
+  $ printf 'foo/bar\r'
+  foo/bar\r (no-eol) (glob) (esc)
+#if windows
+  $ printf 'foo\\bar\r'
+  foo/bar\r (no-eol) (glob) (esc)
+#endif
+  $ printf 'foo/bar\rfoo/bar\r'
+  foo.bar\r \(no-eol\) (re) (esc)
+  foo.bar\r \(no-eol\) (re)
+
 testing hghave
 
   $ "$TESTDIR/hghave" true