]> diplodocus.org Git - nmh/blobdiff - test/mkstemp/test-mkstemp
Bump up size of two static char[] so gcc knows they won't overflow.
[nmh] / test / mkstemp / test-mkstemp
index afeb2c5..97896e4 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