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

Last change on this file since 3320 was 3320, checked in by Bruno Cornec, 9 years ago
  • Re-add (thanks git BTW) the 2.2.9 branch which had been destroyed in the move to 3.0
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.