X-Git-Url: https://diplodocus.org/git/nmh/blobdiff_plain/7ef61b4ce65efc9cf2a8903dbd1e6517932cb83d..1dcc90e73715f6fd65f22ff7a1dad9c646c7d60d:/test/whom/test-whom?ds=sidebyside diff --git a/test/whom/test-whom b/test/whom/test-whom index b3f20eb6..e8341a54 100755 --- a/test/whom/test-whom +++ b/test/whom/test-whom @@ -19,6 +19,8 @@ fi setup_test +check_exit '-eq 1' whom - + expected=$MH_TEST_DIR/$$.expected actual=$MH_TEST_DIR/$$.actual @@ -33,6 +35,8 @@ 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 +run_prog whom -help | head -10 >$actual 2>&1 check $expected $actual # check -version