]> diplodocus.org Git - nmh/blobdiff - test/mkstemp/test-mkstemp
sbr/oauth.c: Remove const to avoid curl's debug_callback warning.
[nmh] / test / mkstemp / test-mkstemp
index d6b9b653452a5bc925e643a81a9e65d1fae16591..97896e48884528a556a73ff2617a02aaea2b64fe 100755 (executable)
@@ -21,7 +21,7 @@ actual="$MH_TEST_DIR"/$$.actual
 
 mkstemp="${MH_LIBEXEC_DIR}/mkstemp"
 
-! $mkstemp - >/dev/null 2>&1 # gcov
+check_exit '-eq 255' $mkstemp -
 
 $mkstemp -help | grep suffix >/dev/null  &&  has_mkstemps=1  ||  has_mkstemps=0