]> diplodocus.org Git - nmh/blobdiff - test/format/test-fmtdump
mh-mkstemp.man: Detail exit status as 255 rather than -1.
[nmh] / test / format / test-fmtdump
index 0c966c843fc5d927d975d16e6b9b50cdb8590dcc..f919b0a3a4115ee1f6ac271340da29f4e2c859cc 100755 (executable)
@@ -16,11 +16,11 @@ fi
 
 setup_test
 
-fmtdump - >/dev/null 2>&1 || true  # gcov
-
 # Use proper program, likely not the first one on PATH.
 fmtdump="${MH_LIBEXEC_DIR}/fmtdump"
 
+check_exit '-eq 1' "$fmtdump" - # gcov
+
 expected=$MH_TEST_DIR/$$.expected
 expected_err=$MH_TEST_DIR/$$.expected_err
 actual=$MH_TEST_DIR/$$.actual