[PATCH 2 of 2] test-http: add a (glob) for Windows

Matt Harbison mharbison72 at gmail.com
Sun Apr 16 01:36:17 EDT 2017


# HG changeset patch
# User Matt Harbison <matt_harbison at yahoo.com>
# Date 1492317451 14400
#      Sun Apr 16 00:37:31 2017 -0400
# Node ID 5666f47d2ff3f52184ac10571036dae918d75312
# Parent  01b8058372c5e1344ed5a83ce5968c2ce6906157
test-http: add a (glob) for Windows

I'm not sure why the glob was ineffective with $TESTTMP here, but replacing it
with '*' works.

diff --git a/tests/test-http.t b/tests/test-http.t
--- a/tests/test-http.t
+++ b/tests/test-http.t
@@ -341,7 +341,7 @@
   > EOF
 
   $ hg --config auth.cookiefile=$TESTTMP/cookies.txt id http://localhost:$HGPORT/
-  (error loading cookie file $TESTTMP/cookies.txt: '$TESTTMP/cookies.txt' does not look like a Netscape format cookies file; continuing without cookies)
+  (error loading cookie file $TESTTMP/cookies.txt: '*/cookies.txt' does not look like a Netscape format cookies file; continuing without cookies) (glob)
   56f9bc90cce6
 
   $ killdaemons.py


More information about the Mercurial-devel mailing list