--- a/tests/test-static-http Fri Apr 30 18:11:56 2010 +0200
+++ b/tests/test-static-http Mon Apr 26 20:13:14 2010 +0900
@@ -43,6 +43,8 @@
cd ../remote
echo baz > quux
hg commit -A -mtest2 -d '100000000 0'
+# check for HTTP opener failures when cachefile does not exist
+rm .hg/*.cache
cd ../local
echo '[hooks]' >> .hg/hgrc
@@ -55,8 +57,12 @@
hg commit -m"test" -d "100000000 0"
hg push | sed -e "s,:$HGPORT/,:\$HGPORT/,"
+echo '% trying clone -r'
+cd ..
+hg clone -r donotexist static-http://localhost:$HGPORT/remote local0 | sed -e "s,:$HGPORT/,:\$HGPORT/,"
+hg clone -r 0 static-http://localhost:$HGPORT/remote local0 | sed -e "s,:$HGPORT/,:\$HGPORT/,"
+
echo '% test with "/" URI (issue 747)'
-cd ..
hg init
echo a > a
hg add a