]> diplodocus.org Git - nmh/blobdiff - test/mkstemp/test-mkstemp
crawl_folders.h: Base header on implementation.
[nmh] / test / mkstemp / test-mkstemp
index afeb2c52d295c1ff4d7c81be17b3b39b3eff9a19..8e0eb83098adc851178bf6378e84b978610d26b8 100755 (executable)
@@ -21,7 +21,7 @@ actual="$MH_TEST_DIR"/$$.actual
 
 mkstemp="${MH_LIBEXEC_DIR}/mkstemp"
 
 
 mkstemp="${MH_LIBEXEC_DIR}/mkstemp"
 
-$mkstemp - >/dev/null 2>&1 || true  # gcov
+check_exit '-eq 1' $mkstemp -
 
 $mkstemp -help | grep suffix >/dev/null  &&  has_mkstemps=1  ||  has_mkstemps=0
 
 
 $mkstemp -help | grep suffix >/dev/null  &&  has_mkstemps=1  ||  has_mkstemps=0