source: MondoRescue/branches/stable/mindi-busybox/testsuite/cp/cp-d-files-to-dir

Last change on this file was 821, checked in by Bruno Cornec, 18 years ago

Addition of busybox 1.2.1 as a mindi-busybox new package
This should avoid delivering binary files in mindi not built there (Fedora and Debian are quite serious about that)

File size: 264 bytes
RevLine 
[821]1echo file number one > file1
2echo file number two > file2
3touch file3
4ln -s file2 link1
5mkdir there
6busybox cp -d file1 file2 file3 link1 there
7test -f there/file1
8test -f there/file2
9test ! -s there/file3
10test -L there/link1
11test xfile2 = x`readlink there/link1`
Note: See TracBrowser for help on using the repository browser.