From: David Levine Date: Wed, 20 Jun 2012 14:09:24 +0000 (-0500) Subject: For whatever reason, gcov got fooled by test-whom until a test of X-Git-Url: http://git.marmaro.de/?a=commitdiff_plain;h=7ef61b4ce65efc9cf2a8903dbd1e6517932cb83d;p=mmh For whatever reason, gcov got fooled by test-whom until a test of -help was added. --- diff --git a/test/whom/test-whom b/test/whom/test-whom index 5560446..b3f20eb 100755 --- a/test/whom/test-whom +++ b/test/whom/test-whom @@ -32,6 +32,34 @@ Subject: Testing message 1 This is a draft message. EOF +# check -help +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'