tests/test-hgwebdir.t
changeset 17015 73d20de5f30b
parent 16239 287f76b3f502
child 17017 953faba28e91
--- a/tests/test-hgwebdir.t	Wed Jun 20 23:41:21 2012 +0200
+++ b/tests/test-hgwebdir.t	Wed Jun 20 23:41:21 2012 +0200
@@ -1,5 +1,10 @@
   $ "$TESTDIR/hghave" serve || exit 80
 
+hide outer repo and work in dir without '.hg'
+  $ hg init
+  $ mkdir dir
+  $ cd dir
+
 Tests some basic hgwebdir functionality. Tests setting up paths and
 collection, different forms of 404s and the subdirectory support.
 
@@ -59,6 +64,8 @@
   $ rm -R nostore/.hg/store
   $ root=`pwd`
   $ cd ..
+
+serve
   $ cat > paths.conf <<EOF
   > [paths]
   > a=$root/a