]> diplodocus.org Git - nmh/blobdiff - test/rcv/test-rcvtty
mh-mkstemp.man: Detail exit status as 255 rather than -1.
[nmh] / test / rcv / test-rcvtty
index 4cef2b81444d27664783c08b016b96a50f49d7df..541a186625a35d6c3c4dbe8ce31c331468de5f4c 100755 (executable)
@@ -19,7 +19,7 @@ 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"
 
-$rcvtty - >/dev/null 2>&1 || true  # gcov
+check_exit '-eq 1' $rcvtty - # gcov
 
 expected="$MH_TEST_DIR/$$.expected"
 actual="$MH_TEST_DIR/$$.actual"
 
 expected="$MH_TEST_DIR/$$.expected"
 actual="$MH_TEST_DIR/$$.actual"