Mercurial > hg
changeset 7341:6cb522c5d56a
tests: fix test-hgweb to not leak directory name
author | Matt Mackall <mpm@selenic.com> |
---|---|
date | Thu, 06 Nov 2008 13:15:35 -0600 |
parents | 06a6942554dc |
children | 1dcd2cc6878b |
files | tests/test-hgweb tests/test-hgweb.out |
diffstat | 2 files changed, 5 insertions(+), 5 deletions(-) [+] |
line wrap: on
line diff
--- 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')
--- 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 @@ <meta name="robots" content="index, nofollow" /> <link rel="stylesheet" href="/static/style-paper.css" type="text/css" /> -<title>/tmp/hgtests.N4Sjj6/test-hgweb/test: error</title> +<title>test: error</title> </head> <body> @@ -48,7 +48,7 @@ <div class="main"> -<h2><a href="/">/tmp/hgtests.N4Sjj6/test-hgweb/test</a></h2> +<h2><a href="/">test</a></h2> <h3>error</h3> <form class="search" action="/log"> @@ -99,7 +99,7 @@ <meta name="robots" content="index, nofollow" /> <link rel="stylesheet" href="/static/style-paper.css" type="text/css" /> -<title>/tmp/hgtests.N4Sjj6/test-hgweb/test: error</title> +<title>test: error</title> </head> <body> @@ -118,7 +118,7 @@ <div class="main"> -<h2><a href="/">/tmp/hgtests.N4Sjj6/test-hgweb/test</a></h2> +<h2><a href="/">test</a></h2> <h3>error</h3> <form class="search" action="/log">