]> diplodocus.org Git - nmh/blobdiff - test/rcv/test-rcvtty
Removed redundant initialization of local variable tls.
[nmh] / test / rcv / test-rcvtty
index 4f1d4988ad4ebe0c6e31e220b1dc7ff53f3e17af..fdc74d44649545708d131b0aad9abb2ad598e06a 100755 (executable)
@@ -19,6 +19,8 @@ setup_test
 # Use proper program, likely not the first one on PATH.
 rcvtty="${MH_LIBEXEC_DIR}/rcvtty"
 
 # Use proper program, likely not the first one on PATH.
 rcvtty="${MH_LIBEXEC_DIR}/rcvtty"
 
+check_exit '-eq 1' $rcvtty -
+
 expected="$MH_TEST_DIR/$$.expected"
 actual="$MH_TEST_DIR/$$.actual"
 
 expected="$MH_TEST_DIR/$$.expected"
 actual="$MH_TEST_DIR/$$.actual"
 
@@ -38,7 +40,7 @@ Usage: rcvtty [command ...]
 EOF
 
 #### Skip nmh intro text.
 EOF
 
 #### Skip nmh intro text.
-run_prog "$rcvtty" -help | sed '/^$/,$d' >"$actual" 2>&1
+run_prog "$rcvtty" -help 2>&1 | sed '/^$/,$d' >"$actual"
 check "$expected" "$actual"
 
 # check -version
 check "$expected" "$actual"
 
 # check -version