Mercurial > hg
changeset 18733:1663fe10f693
tests: work around msys bash mangling of paths in test-mq.t
author | Mads Kiilerich <madski@unity3d.com> |
---|---|
date | Tue, 26 Feb 2013 21:04:50 +0100 |
parents | 1793251e75c8 |
children | b72697653306 |
files | tests/test-mq.t |
diffstat | 1 files changed, 5 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- 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 ..