tests/test-static-http
changeset 6028 6605a03cbf87
parent 5384 e3a0c092b4e2
child 7005 7739b61897df
--- a/tests/test-static-http	Wed Feb 06 23:09:13 2008 +0100
+++ b/tests/test-static-http	Fri Feb 08 11:50:37 2008 +0100
@@ -63,4 +63,19 @@
 cat a
 hg paths | sed -e 's,:[0-9][0-9]*/,/,'
 
+echo '% test with empty repo (issue965)'
+cd ..
+hg init remotempty
+
+http_proxy= hg clone static-http://localhost:$HGPORT/remotempty local3 | sed -e 's,:[0-9][0-9]*/,/,'
+
+cd local3
+hg verify
+hg paths | sed -e 's,:[0-9][0-9]*/,/,'
+
+echo '% test with non-repo'
+cd ..
+mkdir notarepo
+http_proxy= hg clone static-http://localhost:$HGPORT/notarepo local3 2>&1 | sed -e 's,:[0-9][0-9]*/,/,'
+
 kill $!