if [ $has_mkstemps -eq 1 ]; then
# check -suffix
tmpfile=`$mkstemp -suffix .txt`
[ -f "$tmpfile" ] && rm "$tmpfile" || failed=`expr ${failed:-0} + 1`
if [ $has_mkstemps -eq 1 ]; then
# check -suffix
tmpfile=`$mkstemp -suffix .txt`
[ -f "$tmpfile" ] && rm "$tmpfile" || failed=`expr ${failed:-0} + 1`