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

login
register
mail settings
Submitter Matt Harbison
Date April 16, 2017, 5:36 a.m.
Message ID <5666f47d2ff3f52184ac.1492320977@Envy>
Download mbox | patch
Permalink /patch/20238/
State Accepted
Headers show

Comments

Matt Harbison - April 16, 2017, 5:36 a.m.
# HG changeset patch
# User Matt Harbison <matt_harbison@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.

Patch

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