source: MondoRescue/branches/2.2.9/mindi-busybox/testsuite/cp/cp-a-files-to-dir@ 2725

Last change on this file since 2725 was 2725, checked in by Bruno Cornec, 13 years ago
  • Update mindi-busybox to 1.18.3 to avoid problems with the tar command which is now failing on recent versions with busybox 1.7.3
File size: 405 bytes
Line 
1echo file number one > file1
2echo file number two > file2
3ln -s file2 link1
4mkdir dir1
5# why???
6#TZ=UTC0 touch -d '2000-01-30 05:24:08' dir1/file3
7mkdir there
8busybox cp -a file1 file2 link1 dir1 there
9test -f there/file1
10test -f there/file2
11test ! -s there/dir1/file3
12test -L there/link1
13test xfile2 = x`readlink there/link1`
14test ! dir1/file3 -ot there/dir1/file3
15test ! dir1/file3 -nt there/dir1/file3
Note: See TracBrowser for help on using the repository browser.