# HG changeset patch # User Matt Mackall # Date 2008-11-06 19:15:35 # Node ID 6cb522c5d56a80120403474c88d2c2e250cbb8ae # Parent 06a6942554dc4c14830ffa551ed81af790c380b0 tests: fix test-hgweb to not leak directory name diff --git a/tests/test-hgweb b/tests/test-hgweb --- a/tests/test-hgweb +++ b/tests/test-hgweb @@ -7,7 +7,7 @@ mkdir da echo foo > da/foo echo foo > foo hg ci -Ambase -d '0 0' -hg serve -p $HGPORT -d --pid-file=hg.pid -A access.log -E errors.log +hg serve -n test -p $HGPORT -d --pid-file=hg.pid -A access.log -E errors.log cat hg.pid >> $DAEMON_PIDS echo % manifest ("$TESTDIR/get-with-headers.py" localhost:$HGPORT '/file/tip/?style=raw') diff --git a/tests/test-hgweb.out b/tests/test-hgweb.out --- a/tests/test-hgweb.out +++ b/tests/test-hgweb.out @@ -29,7 +29,7 @@ 404 Not Found -/tmp/hgtests.N4Sjj6/test-hgweb/test: error +test: error @@ -48,7 +48,7 @@ 404 Not Found
-

/tmp/hgtests.N4Sjj6/test-hgweb/test

+

test

error