##// END OF EJS Templates
tests: fix test-hgweb to not leak directory name
Matt Mackall -
r7341:6cb522c5 default
parent child Browse files
Show More
@@ -7,7 +7,7 b' mkdir da'
7 echo foo > da/foo
7 echo foo > da/foo
8 echo foo > foo
8 echo foo > foo
9 hg ci -Ambase -d '0 0'
9 hg ci -Ambase -d '0 0'
10 hg serve -p $HGPORT -d --pid-file=hg.pid -A access.log -E errors.log
10 hg serve -n test -p $HGPORT -d --pid-file=hg.pid -A access.log -E errors.log
11 cat hg.pid >> $DAEMON_PIDS
11 cat hg.pid >> $DAEMON_PIDS
12 echo % manifest
12 echo % manifest
13 ("$TESTDIR/get-with-headers.py" localhost:$HGPORT '/file/tip/?style=raw')
13 ("$TESTDIR/get-with-headers.py" localhost:$HGPORT '/file/tip/?style=raw')
@@ -29,7 +29,7 b' 404 Not Found'
29 <meta name="robots" content="index, nofollow" />
29 <meta name="robots" content="index, nofollow" />
30 <link rel="stylesheet" href="/static/style-paper.css" type="text/css" />
30 <link rel="stylesheet" href="/static/style-paper.css" type="text/css" />
31
31
32 <title>/tmp/hgtests.N4Sjj6/test-hgweb/test: error</title>
32 <title>test: error</title>
33 </head>
33 </head>
34 <body>
34 <body>
35
35
@@ -48,7 +48,7 b' 404 Not Found'
48
48
49 <div class="main">
49 <div class="main">
50
50
51 <h2><a href="/">/tmp/hgtests.N4Sjj6/test-hgweb/test</a></h2>
51 <h2><a href="/">test</a></h2>
52 <h3>error</h3>
52 <h3>error</h3>
53
53
54 <form class="search" action="/log">
54 <form class="search" action="/log">
@@ -99,7 +99,7 b' 404 Not Found'
99 <meta name="robots" content="index, nofollow" />
99 <meta name="robots" content="index, nofollow" />
100 <link rel="stylesheet" href="/static/style-paper.css" type="text/css" />
100 <link rel="stylesheet" href="/static/style-paper.css" type="text/css" />
101
101
102 <title>/tmp/hgtests.N4Sjj6/test-hgweb/test: error</title>
102 <title>test: error</title>
103 </head>
103 </head>
104 <body>
104 <body>
105
105
@@ -118,7 +118,7 b' 404 Not Found'
118
118
119 <div class="main">
119 <div class="main">
120
120
121 <h2><a href="/">/tmp/hgtests.N4Sjj6/test-hgweb/test</a></h2>
121 <h2><a href="/">test</a></h2>
122 <h3>error</h3>
122 <h3>error</h3>
123
123
124 <form class="search" action="/log">
124 <form class="search" action="/log">
General Comments 0
You need to be logged in to leave comments. Login now