]> diplodocus.org Git - nmh/blobdiff - test/mkstemp/test-mkstemp
Replaced use of ! with || true, for ultimate Bourne shell compatiblity.
[nmh] / test / mkstemp / test-mkstemp
index fcc8cd5..afeb2c5 100755 (executable)
@@ -20,6 +20,9 @@ expected="$MH_TEST_DIR"/$$.expected
 actual="$MH_TEST_DIR"/$$.actual
 
 mkstemp="${MH_LIBEXEC_DIR}/mkstemp"
+
+$mkstemp - >/dev/null 2>&1 || true  # gcov
+
 $mkstemp -help | grep suffix >/dev/null  &&  has_mkstemps=1  ||  has_mkstemps=0
 
 cd "$MHTMPDIR"