X-Git-Url: https://diplodocus.org/git/nmh/blobdiff_plain/db3da5fe01f937010afb1ac4a7129b345f1cf5a2..d9b33232b:/test/mkstemp/test-mkstemp?ds=inline diff --git a/test/mkstemp/test-mkstemp b/test/mkstemp/test-mkstemp index 59cacad1..2ff99f22 100755 --- a/test/mkstemp/test-mkstemp +++ b/test/mkstemp/test-mkstemp @@ -21,7 +21,7 @@ actual="$MH_TEST_DIR"/$$.actual mkstemp="${MH_LIBEXEC_DIR}/mkstemp" -check_exit '-eq 255' $mkstemp - # gcov +check_exit '-eq 1' $mkstemp - $mkstemp -help | grep suffix >/dev/null && has_mkstemps=1 || has_mkstemps=0 @@ -51,7 +51,7 @@ else fi #### Skip nmh intro text. -run_prog $mkstemp -h | sed '/^$/,$d' >"$actual" 2>&1 +run_prog $mkstemp -h 2>&1 | sed '/^$/,$d' >"$actual" check "$expected" "$actual"