diff tests/test-hgwebdir @ 7202:268c582bd42a

tests: add more testing for webdir nesting
author Dirkjan Ochtman <dirkjan@ochtman.nl>
date Wed, 22 Oct 2008 18:32:17 +0200
parents 8279cb841467
children 79d1bb737c16
line wrap: on
line diff
--- a/tests/test-hgwebdir	Wed Oct 22 18:23:32 2008 +0200
+++ b/tests/test-hgwebdir	Wed Oct 22 18:32:17 2008 +0200
@@ -16,8 +16,14 @@
 hg init c
 echo c > c/c
 hg --cwd c ci -Amc -d'3 0'
+
+cd b
+hg init d
+echo d > d/d
+hg --cwd d ci -Amd
+cd ..
+
 root=`pwd`
-
 cd ..
 
 cat > paths.conf <<EOF
@@ -75,6 +81,7 @@
 "$TESTDIR/get-with-headers.py" localhost:$HGPORT2 '/a/file/tip/a?style=raw'
 "$TESTDIR/get-with-headers.py" localhost:$HGPORT2 '/b/file/tip/b?style=raw'
 "$TESTDIR/get-with-headers.py" localhost:$HGPORT2 '/c/file/tip/c?style=raw'
+"$TESTDIR/get-with-headers.py" localhost:$HGPORT2 '/b/d/rev/tip/?style=raw'
 
 echo % paths errors 1
 cat error-paths-1.log