X-Git-Url: https://diplodocus.org/git/nmh/blobdiff_plain/025963d5fe8ca0781eee8c83c23b4ea1209a3b0b..7540f02725475698a47046ebf4e55b3e8dea5ab6:/test/rcv/test-rcvtty diff --git a/test/rcv/test-rcvtty b/test/rcv/test-rcvtty index fdc74d44..d86b8dbf 100755 --- a/test/rcv/test-rcvtty +++ b/test/rcv/test-rcvtty @@ -26,6 +26,7 @@ actual="$MH_TEST_DIR/$$.actual" # check -help +start_test "-help" cat >"$expected" <&1 | sed '/^$/,$d' >"$actual" check "$expected" "$actual" # check -version +start_test "-version" case `$rcvtty -v` in rcvtty\ --*) ;; * ) printf '%s: rcvtty -v generated unexpected output\n' "$0" >&2 @@ -51,6 +53,7 @@ case `$rcvtty -v` in esac # check normal operation. Use -biff to avoid sending notification to +start_test "normal operation. Use -biff to avoid sending notification to" # each of the user's terminals. So this command shouldn't do # anything. It will write the notification(s) if the user actually # has actually enabled biff notification, or has set the exec bit of @@ -61,4 +64,5 @@ run_prog $rcvtty <${MH_TEST_DIR}/Mail/inbox/1 -biff >"$actual" 2>&1 check "$expected" "$actual" +finish_test exit ${failed:-0}