# check -help
+start_test "-help"
cat >"$expected" <<EOF
Usage: rcvtty [command ...]
switches are:
check "$expected" "$actual"
# check -version
+start_test "-version"
case `$rcvtty -v` in
rcvtty\ --*) ;;
* ) printf '%s: rcvtty -v generated unexpected output\n' "$0" >&2
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
check "$expected" "$actual"
+finish_test
exit ${failed:-0}