test-hgweb
13 lines
| 322 B
| text/plain
|
TextLexer
/ tests / test-hgweb
Brendan Cully
|
r3942 | #!/bin/sh | ||
hg init test | ||||
cd test | ||||
mkdir da | ||||
echo foo > da/foo | ||||
echo foo > foo | ||||
hg ci -Ambase -d '0 0' | ||||
Bryan O'Sullivan
|
r5384 | hg serve -p $HGPORT -d --pid-file=hg.pid | ||
Brendan Cully
|
r3942 | echo % manifest | ||
Bryan O'Sullivan
|
r5384 | ("$TESTDIR/get-with-headers.py" localhost:$HGPORT '/file/tip/?style=raw') | ||
("$TESTDIR/get-with-headers.py" localhost:$HGPORT '/file/tip/da?style=raw') | ||||
Brendan Cully
|
r3942 | kill `cat hg.pid` | ||