Mercurial > hg-stable
comparison tests/test-largefiles.t @ 18228:1528ff6ac7ee
test-largefiles.t: fix wrong '#if hgweb' - it should be '#if serve'
A bug introduced in 0c1d10351869 did that a part of the test never was run.
author | Mads Kiilerich <mads@kiilerich.com> |
---|---|
date | Mon, 07 Jan 2013 02:00:43 +0100 |
parents | 8019f96ec4ce |
children | 65cec7fa5472 |
comparison
equal
deleted
inserted
replaced
18227:720308f741cb | 18228:1528ff6ac7ee |
---|---|
215 ./dirb | 215 ./dirb |
216 ./dirb/largefile | 216 ./dirb/largefile |
217 ./foo | 217 ./foo |
218 $ cd ../../a | 218 $ cd ../../a |
219 | 219 |
220 #if hgweb | 220 #if serve |
221 Test display of largefiles in hgweb | 221 Test display of largefiles in hgweb |
222 | 222 |
223 $ hg serve -d -p $HGPORT --pid-file ../hg.pid | 223 $ hg serve -d -p $HGPORT --pid-file ../hg.pid |
224 $ cat ../hg.pid >> $DAEMON_PIDS | 224 $ cat ../hg.pid >> $DAEMON_PIDS |
225 $ "$TESTDIR/get-with-headers.py" 127.0.0.1:$HGPORT 'file/tip/?style=raw' | 225 $ "$TESTDIR/get-with-headers.py" 127.0.0.1:$HGPORT 'file/tip/?style=raw' |
226 200 Script output follows | 226 200 Script output follows |
227 | 227 |
228 | 228 |
229 drwxr-xr-x sub | 229 drwxr-xr-x sub |
230 -rw-r--r-- 41 large3 | 230 -rw-r--r-- 41 large3 |
231 -rw-r--r-- 9 normal3 | 231 -rw-r--r-- 9 normal3 |
232 | 232 |
233 | 233 |
234 $ "$TESTDIR/get-with-headers.py" 127.0.0.1:$HGPORT 'file/tip/sub/?style=raw' | 234 $ "$TESTDIR/get-with-headers.py" 127.0.0.1:$HGPORT 'file/tip/sub/?style=raw' |
235 200 Script output follows | 235 200 Script output follows |
236 | 236 |
237 | 237 |
238 -rw-r--r-- 41 large4 | 238 -rw-r--r-- 41 large4 |
239 -rw-r--r-- 9 normal4 | 239 -rw-r--r-- 9 normal4 |
240 | 240 |
241 | 241 |
242 $ "$TESTDIR/killdaemons.py" $DAEMON_PIDS | 242 $ "$TESTDIR/killdaemons.py" $DAEMON_PIDS |
243 #endif | 243 #endif |
244 | 244 |
245 Test archiving the various revisions. These hit corner cases known with | 245 Test archiving the various revisions. These hit corner cases known with |
246 archiving. | 246 archiving. |