# HG changeset patch # User FUJIWARA Katsunori # Date 2017-06-26 17:24:37 # Node ID c4a20c9484e7c4862dba5a978d290fb29206a31b # Parent fce4ed2912bb103f59efb4b9cf5af7d93689b2b5 tests: avoid test failure for mangling path-like string by MSYS diff --git a/tests/test-extension.t b/tests/test-extension.t --- a/tests/test-extension.t +++ b/tests/test-extension.t @@ -131,7 +131,13 @@ Check hgweb's load order of extensions a (check that revset predicate foo() and bar() are available) - $ REQUEST_METHOD='GET' PATH_INFO='/shortlog' SCRIPT_NAME='' \ +#if msys + $ PATH_INFO='//shortlog' +#else + $ PATH_INFO='/shortlog' +#endif + $ export PATH_INFO + $ REQUEST_METHOD='GET' SCRIPT_NAME='' \ > QUERY_STRING='rev=foo() and bar()' \ > SERVER_PORT='80' SERVER_NAME='localhost' python hgweb.cgi \ > | grep ''