X-Git-Url: https://diplodocus.org/git/nmh/blobdiff_plain/26ac907a39f8711907707d53050c2f950a47242f..ec4b22fc47186bd8c46495c0bee5592b225c9abf:/test/rcv/test-rcvtty diff --git a/test/rcv/test-rcvtty b/test/rcv/test-rcvtty index 6d61de21..f0c58d14 100755 --- a/test/rcv/test-rcvtty +++ b/test/rcv/test-rcvtty @@ -37,13 +37,13 @@ Usage: rcvtty [command ...] -help EOF -$rcvtty -help >"$actual" 2>&1 +run_prog $rcvtty -help >"$actual" 2>&1 check "$expected" "$actual" # check -version case `$rcvtty -v` in rcvtty\ --*) ;; - * ) printf "$0: rcvtty -v generated unexpected output\n" >&2 + * ) printf '%s: rcvtty -v generated unexpected output\n' "$0" >&2 failed=`expr ${failed:-0} + 1`;; esac @@ -54,7 +54,7 @@ esac # any of their ttys. cat >"$expected" <"$actual" 2>&1 +run_prog $rcvtty <${MH_TEST_DIR}/Mail/inbox/1 -biff >"$actual" 2>&1 check "$expected" "$actual"