diff --git a/tests/test-command-template.t b/tests/test-command-template.t --- a/tests/test-command-template.t +++ b/tests/test-command-template.t @@ -284,7 +284,8 @@ so it can be included in hgrc - $ cat <<'EOF' > myhgrc + $ cat < myhgrc + > %include $HGRCPATH > %include map-simple > [templates] > foo = "{changeset}" diff --git a/tests/test-wireproto.t b/tests/test-wireproto.t --- a/tests/test-wireproto.t +++ b/tests/test-wireproto.t @@ -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