tests: work around msys bash mangling of paths in test-mq.t
authorMads Kiilerich <madski@unity3d.com>
Tue, 26 Feb 2013 21:04:50 +0100
changeset 18733 1663fe10f693
parent 18732 1793251e75c8
child 18734 b72697653306
tests: work around msys bash mangling of paths in test-mq.t
tests/test-mq.t
--- a/tests/test-mq.t	Thu Feb 28 14:05:15 2013 +0100
+++ b/tests/test-mq.t	Tue Feb 26 21:04:50 2013 +0100
@@ -1567,12 +1567,13 @@
   > wsgicgi.launch(app)
   > HGWEB
   $ . "$TESTDIR/cgienv"
+#if msys
+  $ PATH_INFO=//tags; export PATH_INFO
+#else
   $ PATH_INFO=/tags; export PATH_INFO
+#endif
   $ QUERY_STRING='style=raw'
-  $ python hgweb.cgi | grep -v ETag:
-  Status: 200 Script output follows\r (esc)
-  Content-Type: text/plain; charset=ascii\r (esc)
-  \r (esc)
+  $ python hgweb.cgi | grep '^tip'
   tip	[0-9a-f]{40} (re)
 
   $ cd ..