]> diplodocus.org Git - nmh/blobdiff - test/mkstemp/test-mkstemp
Make the -fcc switch to repl actually work properly, and make sure that
[nmh] / test / mkstemp / test-mkstemp
index afeb2c52d295c1ff4d7c81be17b3b39b3eff9a19..97896e48884528a556a73ff2617a02aaea2b64fe 100755 (executable)
@@ -21,7 +21,7 @@ actual="$MH_TEST_DIR"/$$.actual
 
 mkstemp="${MH_LIBEXEC_DIR}/mkstemp"
 
-$mkstemp - >/dev/null 2>&1 || true  # gcov
+check_exit '-eq 255' $mkstemp -
 
 $mkstemp -help | grep suffix >/dev/null  &&  has_mkstemps=1  ||  has_mkstemps=0