tests/test-wireproto.t
changeset 37418 afd7b0afe4a6
parent 35173 c1b94f34a11a
child 37498 aacfca6f9767
--- a/tests/test-wireproto.t	Wed Apr 04 14:11:43 2018 -0700
+++ b/tests/test-wireproto.t	Wed Apr 04 14:25:20 2018 -0700
@@ -114,10 +114,7 @@
 
 HTTP without the httpheader capability:
 
-  $ HGRCPATH="`pwd`/repo/.hgrc"
-  $ export HGRCPATH
-  $ CAP=httpheader
-  $ . "$TESTDIR/notcapable"
+  $ CAP=httpheader . "$TESTDIR/notcapable"
 
   $ hg serve -R repo -p $HGPORT2 -d --pid-file=hg2.pid -E error2.log -A access2.log
   $ cat hg2.pid >> $DAEMON_PIDS