summaryrefslogtreecommitdiff
path: root/tests/test-dispatch.t
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test-dispatch.t')
-rw-r--r--tests/test-dispatch.t19
1 files changed, 9 insertions, 10 deletions
diff --git a/tests/test-dispatch.t b/tests/test-dispatch.t
index 3b11d14..ab0f7fb 100644
--- a/tests/test-dispatch.t
+++ b/tests/test-dispatch.t
@@ -1,5 +1,9 @@
test command parsing and dispatch
+ $ "$TESTDIR/hghave" no-outer-repo || exit 80
+
+ $ dir=`pwd`
+
$ hg init a
$ cd a
@@ -21,11 +25,11 @@ Missing arg:
options:
- -o --output FORMAT print output to file with formatted name
- -r --rev REV print the given revision
- --decode apply any matching decode filter
- -I --include PATTERN [+] include names matching the given patterns
- -X --exclude PATTERN [+] exclude names matching the given patterns
+ -o --output FORMAT print output to file with formatted name
+ -r --rev REV print the given revision
+ --decode apply any matching decode filter
+ -I --include PATTERN [+] include names matching the given patterns
+ -X --exclude PATTERN [+] exclude names matching the given patterns
[+] marked option can be specified multiple times
@@ -44,10 +48,6 @@ Missing arg:
a: no such file in rev 000000000000
[1]
- $ cd "$TESTTMP"
-
-#if no-outer-repo
-
No repo:
$ cd $dir
@@ -55,4 +55,3 @@ No repo:
abort: no repository found in '$TESTTMP' (.hg not found)!
[255]
-#endif