]> diplodocus.org Git - nmh/blobdiff - test/rcv/test-rcvtty
Added full output test to test-scan.
[nmh] / test / rcv / test-rcvtty
index 541a186625a35d6c3c4dbe8ce31c331468de5f4c..fdc74d44649545708d131b0aad9abb2ad598e06a 100755 (executable)
@@ -19,7 +19,7 @@ setup_test
 # Use proper program, likely not the first one on PATH.
 rcvtty="${MH_LIBEXEC_DIR}/rcvtty"
 
-check_exit '-eq 1' $rcvtty - # gcov
+check_exit '-eq 1' $rcvtty -
 
 expected="$MH_TEST_DIR/$$.expected"
 actual="$MH_TEST_DIR/$$.actual"
@@ -40,7 +40,7 @@ Usage: rcvtty [command ...]
 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