tests/test-dispatch.t
changeset 17014 50fbe9063ff2
parent 15145 ff26712a0c50
child 18226 fe67db018bd7
--- a/tests/test-dispatch.t	Wed Jun 20 12:30:16 2012 -0500
+++ b/tests/test-dispatch.t	Wed Jun 20 23:41:21 2012 +0200
@@ -1,9 +1,5 @@
 test command parsing and dispatch
 
-  $ "$TESTDIR/hghave" no-outer-repo || exit 80
-
-  $ dir=`pwd`
-
   $ hg init a
   $ cd a
 
@@ -48,6 +44,10 @@
   a: no such file in rev 000000000000
   [1]
 
+  $ cd "$TESTTMP"
+
+#if no-outer-repo
+
 No repo:
 
   $ cd $dir
@@ -55,3 +55,4 @@
   abort: no repository found in '$TESTTMP' (.hg not found)!
   [255]
 
+#endif