##// END OF EJS Templates
hgweb: simple tests
Brendan Cully -
r3942:8eccfce0 default
parent child Browse files
Show More
@@ -0,0 +1,13 b''
1 #!/bin/sh
2
3 hg init test
4 cd test
5 mkdir da
6 echo foo > da/foo
7 echo foo > foo
8 hg ci -Ambase -d '0 0'
9 hg serve -p 20060 -d --pid-file=hg.pid
10 echo % manifest
11 ("$TESTDIR/get-with-headers.py" localhost:20060 '/file/tip/?style=raw')
12 ("$TESTDIR/get-with-headers.py" localhost:20060 '/file/tip/da?style=raw')
13 kill `cat hg.pid`
@@ -0,0 +1,16 b''
1 adding da/foo
2 adding foo
3 % manifest
4 200 Script output follows
5
6
7 drwxr-xr-x da
8 -rw-r--r-- 4 foo
9
10
11 200 Script output follows
12
13
14 -rw-r--r-- 4 foo
15
16
General Comments 0
You need to be logged in to leave comments. Login now