summaryrefslogtreecommitdiff
path: root/busybox/testsuite/touch
diff options
context:
space:
mode:
authornobody <nobody@localhost>2004-10-13 09:42:10 +0000
committernobody <nobody@localhost>2004-10-13 09:42:10 +0000
commit8c59a0bf0e9e2d87b0ff273ea3f0bf05bbbf6373 (patch)
tree1826706cd4fd009fcd14f4f8021005ec8ec0fa59 /busybox/testsuite/touch
downloadbusybox-w32-8c59a0bf0e9e2d87b0ff273ea3f0bf05bbbf6373.tar.gz
busybox-w32-8c59a0bf0e9e2d87b0ff273ea3f0bf05bbbf6373.tar.bz2
busybox-w32-8c59a0bf0e9e2d87b0ff273ea3f0bf05bbbf6373.zip
This commit was manufactured by cvs2svn to create tag 'busybox_1_00'.
Diffstat (limited to 'busybox/testsuite/touch')
-rw-r--r--busybox/testsuite/touch/touch-creates-file2
-rw-r--r--busybox/testsuite/touch/touch-does-not-create-file2
-rw-r--r--busybox/testsuite/touch/touch-touches-files-after-non-existent-file3
3 files changed, 7 insertions, 0 deletions
diff --git a/busybox/testsuite/touch/touch-creates-file b/busybox/testsuite/touch/touch-creates-file
new file mode 100644
index 000000000..4b4935421
--- /dev/null
+++ b/busybox/testsuite/touch/touch-creates-file
@@ -0,0 +1,2 @@
1busybox touch foo
2test -f foo
diff --git a/busybox/testsuite/touch/touch-does-not-create-file b/busybox/testsuite/touch/touch-does-not-create-file
new file mode 100644
index 000000000..885259286
--- /dev/null
+++ b/busybox/testsuite/touch/touch-does-not-create-file
@@ -0,0 +1,2 @@
1busybox touch -c foo
2test ! -f foo
diff --git a/busybox/testsuite/touch/touch-touches-files-after-non-existent-file b/busybox/testsuite/touch/touch-touches-files-after-non-existent-file
new file mode 100644
index 000000000..a869ec267
--- /dev/null
+++ b/busybox/testsuite/touch/touch-touches-files-after-non-existent-file
@@ -0,0 +1,3 @@
1touch -t 198001010000 bar
2busybox touch -c foo bar
3test x"`find bar -mtime -1`" = xbar