projects
/
mmh
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Truncated -help test in test-whom because its output depends on whether
[mmh]
/
test
/
whom
/
test-whom
diff --git
a/test/whom/test-whom
b/test/whom/test-whom
index
b3f20eb
..
b53bb08
100755
(executable)
--- a/
test/whom/test-whom
+++ b/
test/whom/test-whom
@@
-33,6
+33,8
@@
This is a draft message.
EOF
# check -help
EOF
# check -help
+# Only look at first 10 lines because the rest depend on
+# whether sasl support was configured in.
cat >$expected <<EOF
Usage: whom [switches] [file]
switches are:
cat >$expected <<EOF
Usage: whom [switches] [file]
switches are:
@@
-44,13
+46,9
@@
Usage: whom [switches] [file]
-nodraftfolder
-version
-help
-nodraftfolder
-version
-help
- -sasl
- -saslmech mechanism
- -user username
- -(port) server port name/number
EOF
EOF
-whom -help >$actual 2>&1
+whom -help | head -10 >$actual 2>&1
check $expected $actual
# check -version
check $expected $actual
# check -version