X-Git-Url: https://diplodocus.org/git/nmh/blobdiff_plain/c59faa971ff27e2af3e90476b1f558e02dff3e0c..ef1ba39e8dae81091b6c3e73e72825ef6edea3c6:/test/whom/test-whom?ds=inline diff --git a/test/whom/test-whom b/test/whom/test-whom index 55604462..e7bd78f4 100755 --- a/test/whom/test-whom +++ b/test/whom/test-whom @@ -32,6 +32,32 @@ Subject: Testing message 1 This is a draft message. EOF +# check -help +# Only look at first 10 lines because the rest depend on +# whether sasl support was configured in. +cat >$expected <$actual 2>&1 +check $expected $actual + +# check -version +case `whom -v` in + whom\ --*) ;; + * ) echo "$0: whom -v generated unexpected output" 1>&2 + failed=`expr ${failed:-0} + 1`;; +esac + # check with no options run_test 'whom' ' -- Network Recipients -- user at example.com'