aboutsummaryrefslogtreecommitdiff
path: root/testsuite/touch
diff options
context:
space:
mode:
authorMatt Kraai <kraai@debian.org>2001-10-30 23:11:20 +0000
committerMatt Kraai <kraai@debian.org>2001-10-30 23:11:20 +0000
commit3889078dbe09a9d85b359e9c0c0c225e0bbea343 (patch)
treee258582c0f14f06750e480e2c244260e79860fd0 /testsuite/touch
parent999623e9736d21177d1f437679b334e0347a6e0f (diff)
downloadbusybox-3889078dbe09a9d85b359e9c0c0c225e0bbea343.tar.gz
Merge test suite.
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 000000000..4b4935421
--- /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 000000000..885259286
--- /dev/null
+++ b/testsuite/touch/touch-does-not-create-file
@@ -0,0 +1,2 @@
+busybox touch -c foo
+test ! -f foo