aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'tests/mkstemps-1.sh')
-rw-r--r--tests/mkstemps-1.sh8
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/mkstemps-1.sh b/tests/mkstemps-1.sh
new file mode 100644
index 0000000..737b023
--- /dev/null
+++ b/tests/mkstemps-1.sh
@@ -0,0 +1,8 @@
+#!/bin/sh
+# basic functionality check
+
+addwrite $PWD
+
+mkstemps-0 -1 "" 0 || exit 1
+mkstemps-0 -1 ff 0 || exit 1
+exec mkstemps-0 3 $PWD/f.XXXXXX 0