summaryrefslogtreecommitdiff
path: root/cmdtest.1.in
diff options
context:
space:
mode:
Diffstat (limited to 'cmdtest.1.in')
-rw-r--r--cmdtest.1.in6
1 files changed, 3 insertions, 3 deletions
diff --git a/cmdtest.1.in b/cmdtest.1.in
index f9aea7b..8e392bc 100644
--- a/cmdtest.1.in
+++ b/cmdtest.1.in
@@ -41,7 +41,7 @@ containing the following content:
.IP
.nf
#!/bin/sh
-echo hello, world
+$COMMAND hello, world
.fi
.PP
Also create the file
@@ -53,7 +53,7 @@ hello, world
Then you can run the tests:
.IP
.nf
-$ cmdtest echo-tests
+$ cmdtest echo-tests -c /bin/echo
test 1/1
1/1 tests OK, 0 failures
.fi
@@ -63,7 +63,7 @@ If you change the stdout file to be something else,
will report the differences:
.IP
.nf
-$ cmdtest echo-tests
+$ cmdtest echo-tests -c /bin/echo
FAIL: hello: stdout diff:
--- echo-tests/hello.stdout 2011-09-11 19:14:47 +0100
+++ echo-tests/hello.stdout-actual 2011-09-11 19:14:49 +0100