]> diplodocus.org Git - nmh/blobdiff - test/mkstemp/test-mkstemp
Work around flex 2.6.3 bug by conditionally #undef yywrap.
[nmh] / test / mkstemp / test-mkstemp
index fcc8cd57284450219c34163ecdd2a943aee89e54..97896e48884528a556a73ff2617a02aaea2b64fe 100755 (executable)
@@ -20,6 +20,9 @@ expected="$MH_TEST_DIR"/$$.expected
 actual="$MH_TEST_DIR"/$$.actual
 
 mkstemp="${MH_LIBEXEC_DIR}/mkstemp"
 actual="$MH_TEST_DIR"/$$.actual
 
 mkstemp="${MH_LIBEXEC_DIR}/mkstemp"
+
+check_exit '-eq 255' $mkstemp -
+
 $mkstemp -help | grep suffix >/dev/null  &&  has_mkstemps=1  ||  has_mkstemps=0
 
 cd "$MHTMPDIR"
 $mkstemp -help | grep suffix >/dev/null  &&  has_mkstemps=1  ||  has_mkstemps=0
 
 cd "$MHTMPDIR"