diff options
author | nobody <nobody@localhost> | 2004-10-13 09:42:10 +0000 |
---|---|---|
committer | nobody <nobody@localhost> | 2004-10-13 09:42:10 +0000 |
commit | 8c59a0bf0e9e2d87b0ff273ea3f0bf05bbbf6373 (patch) | |
tree | 1826706cd4fd009fcd14f4f8021005ec8ec0fa59 /busybox/testsuite/touch | |
download | busybox-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-file | 2 | ||||
-rw-r--r-- | busybox/testsuite/touch/touch-does-not-create-file | 2 | ||||
-rw-r--r-- | busybox/testsuite/touch/touch-touches-files-after-non-existent-file | 3 |
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 @@ | |||
1 | busybox touch foo | ||
2 | test -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 @@ | |||
1 | busybox touch -c foo | ||
2 | test ! -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 @@ | |||
1 | touch -t 198001010000 bar | ||
2 | busybox touch -c foo bar | ||
3 | test x"`find bar -mtime -1`" = xbar | ||