Annotation of /trunk/mkinitrd-magellan/busybox/testsuite/cp/cp-a-files-to-dir
Parent Directory | Revision Log
Revision 816 -
(hide annotations)
(download)
Fri Apr 24 18:33:46 2009 UTC (15 years, 1 month ago) by niro
File size: 410 byte(s)
Fri Apr 24 18:33:46 2009 UTC (15 years, 1 month ago) by niro
File size: 410 byte(s)
-updated to busybox-1.13.4
1 | niro | 532 | echo file number one > file1 |
2 | echo file number two > file2 | ||
3 | ln -s file2 link1 | ||
4 | mkdir dir1 | ||
5 | niro | 816 | # why??? |
6 | #touch --date='Sat Jan 29 21:24:08 PST 2000' dir1/file3 | ||
7 | niro | 532 | mkdir there |
8 | busybox cp -a file1 file2 link1 dir1 there | ||
9 | test -f there/file1 | ||
10 | test -f there/file2 | ||
11 | test ! -s there/dir1/file3 | ||
12 | test -L there/link1 | ||
13 | test xfile2 = x`readlink there/link1` | ||
14 | test ! dir1/file3 -ot there/dir1/file3 | ||
15 | test ! dir1/file3 -nt there/dir1/file3 |