summaryrefslogtreecommitdiff
path: root/testsuite/touch
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/touch')
-rw-r--r--testsuite/touch/touch-creates-file2
-rw-r--r--testsuite/touch/touch-does-not-create-file2
2 files changed, 4 insertions, 0 deletions
diff --git a/testsuite/touch/touch-creates-file b/testsuite/touch/touch-creates-file
new file mode 100644
index 0000000..4b49354
--- /dev/null
+++ b/testsuite/touch/touch-creates-file
@@ -0,0 +1,2 @@
+busybox touch foo
+test -f foo
diff --git a/testsuite/touch/touch-does-not-create-file b/testsuite/touch/touch-does-not-create-file
new file mode 100644
index 0000000..8852592
--- /dev/null
+++ b/testsuite/touch/touch-does-not-create-file
@@ -0,0 +1,2 @@
+busybox touch -c foo
+test ! -f foo