diff tests/test-static-http @ 6045:012ad48a07fa

merge with crew-stable
author Thomas Arendsen Hein <thomas@intevation.de>
date Fri, 08 Feb 2008 11:55:17 +0100
parents 6605a03cbf87
children 7739b61897df
line wrap: on
line diff
--- a/tests/test-static-http	Thu Feb 07 12:31:29 2008 +0100
+++ b/tests/test-static-http	Fri Feb 08 11:55:17 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 $!