X-Git-Url: https://diplodocus.org/git/nmh/blobdiff_plain/0f0af4e32a4d734209c16282b63f7cb1094e2699..9b3fc4790b2473b23c69c0e70710e1e66a038f28:/test/rcv/test-rcvtty diff --git a/test/rcv/test-rcvtty b/test/rcv/test-rcvtty index 1d0fea8c..4f1d4988 100755 --- a/test/rcv/test-rcvtty +++ b/test/rcv/test-rcvtty @@ -17,7 +17,7 @@ fi setup_test # Use proper program, likely not the first one on PATH. -rcvtty="${MH_LIB_DIR}/rcvtty" +rcvtty="${MH_LIBEXEC_DIR}/rcvtty" expected="$MH_TEST_DIR/$$.expected" actual="$MH_TEST_DIR/$$.actual" @@ -37,7 +37,8 @@ Usage: rcvtty [command ...] -help EOF -$rcvtty -help >"$actual" 2>&1 +#### Skip nmh intro text. +run_prog "$rcvtty" -help | sed '/^$/,$d' >"$actual" 2>&1 check "$expected" "$actual" # check -version @@ -54,7 +55,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"