##// END OF EJS Templates
tests: add more testing for webdir nesting
Dirkjan Ochtman -
r7202:268c582b default
parent child Browse files
Show More
@@ -16,8 +16,14 b" hg --cwd b ci -Amb -d'2 0'"
16 16 hg init c
17 17 echo c > c/c
18 18 hg --cwd c ci -Amc -d'3 0'
19
20 cd b
21 hg init d
22 echo d > d/d
23 hg --cwd d ci -Amd
24 cd ..
25
19 26 root=`pwd`
20
21 27 cd ..
22 28
23 29 cat > paths.conf <<EOF
@@ -75,6 +81,7 b' echo % should succeed'
75 81 "$TESTDIR/get-with-headers.py" localhost:$HGPORT2 '/a/file/tip/a?style=raw'
76 82 "$TESTDIR/get-with-headers.py" localhost:$HGPORT2 '/b/file/tip/b?style=raw'
77 83 "$TESTDIR/get-with-headers.py" localhost:$HGPORT2 '/c/file/tip/c?style=raw'
84 "$TESTDIR/get-with-headers.py" localhost:$HGPORT2 '/b/d/rev/tip/?style=raw'
78 85
79 86 echo % paths errors 1
80 87 cat error-paths-1.log
@@ -1,6 +1,7 b''
1 1 adding a
2 2 adding b
3 3 adding c
4 adding d
4 5 % should give a 404 - file does not exist
5 6 404 Not Found
6 7
@@ -108,6 +109,7 b' 200 Script output follows'
108 109
109 110 /a/
110 111 /b/
112 /b/d/
111 113 /c/
112 114
113 115 200 Script output follows
@@ -119,6 +121,21 b' b'
119 121 200 Script output follows
120 122
121 123 c
124 200 Script output follows
125
126
127 # HG changeset patch
128 # User test
129 # Date 0 0
130 # Node ID 43cb50608b2ae8635a62e2e8730adefc32a274ee
131
132 d
133
134 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
135 +++ b/d Thu Jan 01 00:00:00 1970 +0000
136 @@ -0,0 +1,1 @@
137 +d
138
122 139 % paths errors 1
123 140 % paths errors 2
124 141 % collections errors
General Comments 0
You need to be logged in to leave comments. Login now