diff -r 468a950aebc3 -r 953faba28e91 tests/test-hgwebdir.t
--- a/tests/test-hgwebdir.t Wed Jun 20 23:41:21 2012 +0200
+++ b/tests/test-hgwebdir.t Thu Jun 21 03:05:02 2012 +0200
@@ -77,7 +77,7 @@
should give a 404 - file does not exist
- $ "$TESTDIR/get-with-headers.py" localhost:$HGPORT '/a/file/tip/bork?style=raw'
+ $ "$TESTDIR/get-with-headers.py" localhost:$HGPORT 'a/file/tip/bork?style=raw'
404 Not Found
@@ -86,25 +86,25 @@
should succeed
- $ "$TESTDIR/get-with-headers.py" localhost:$HGPORT '/?style=raw'
+ $ "$TESTDIR/get-with-headers.py" localhost:$HGPORT '?style=raw'
200 Script output follows
/a/
/b/
- $ "$TESTDIR/get-with-headers.py" localhost:$HGPORT '/a/file/tip/a?style=raw'
+ $ "$TESTDIR/get-with-headers.py" localhost:$HGPORT 'a/file/tip/a?style=raw'
200 Script output follows
a
- $ "$TESTDIR/get-with-headers.py" localhost:$HGPORT '/b/file/tip/b?style=raw'
+ $ "$TESTDIR/get-with-headers.py" localhost:$HGPORT 'b/file/tip/b?style=raw'
200 Script output follows
b
should give a 404 - repo is not published
- $ "$TESTDIR/get-with-headers.py" localhost:$HGPORT '/c/file/tip/c?style=raw'
+ $ "$TESTDIR/get-with-headers.py" localhost:$HGPORT 'c/file/tip/c?style=raw'
404 Not Found
@@ -113,14 +113,14 @@
atom-log without basedir
- $ "$TESTDIR/get-with-headers.py" localhost:$HGPORT '/a/atom-log' | grep ' (glob)
(glob)
(glob)
rss-log without basedir
- $ "$TESTDIR/get-with-headers.py" localhost:$HGPORT '/a/rss-log' | grep 'http://*:$HGPORT/a/rev/8580ff50825a (glob)
$ cat > paths.conf < [paths]
@@ -138,7 +138,7 @@
should succeed, slashy names
- $ "$TESTDIR/get-with-headers.py" localhost:$HGPORT1 '/?style=raw'
+ $ "$TESTDIR/get-with-headers.py" localhost:$HGPORT1 '?style=raw'
200 Script output follows
@@ -177,7 +177,7 @@
/astar/
/astar/.hg/patches/
- $ "$TESTDIR/get-with-headers.py" localhost:$HGPORT1 '/?style=paper'
+ $ "$TESTDIR/get-with-headers.py" localhost:$HGPORT1 '?style=paper'
200 Script output follows
@@ -490,19 +490,19 @@