# HG changeset patch # User Matt Mackall # Date 1225998935 21600 # Node ID 6cb522c5d56a80120403474c88d2c2e250cbb8ae # Parent 06a6942554dc4c14830ffa551ed81af790c380b0 tests: fix test-hgweb to not leak directory name diff -r 06a6942554dc -r 6cb522c5d56a tests/test-hgweb --- a/tests/test-hgweb Thu Nov 06 12:46:34 2008 -0600 +++ b/tests/test-hgweb Thu Nov 06 13:15:35 2008 -0600 @@ -7,7 +7,7 @@ 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 -r 06a6942554dc -r 6cb522c5d56a tests/test-hgweb.out --- a/tests/test-hgweb.out Thu Nov 06 12:46:34 2008 -0600 +++ b/tests/test-hgweb.out Thu Nov 06 13:15:35 2008 -0600 @@ -29,7 +29,7 @@ -/tmp/hgtests.N4Sjj6/test-hgweb/test: error +test: error @@ -48,7 +48,7 @@
-

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

+

test

error