cp: fix "cp -RL" to create regular files even if src is a symlink
This commit is contained in:
6
testsuite/cp/cp-RHL-does_not_preserve-links
Normal file
6
testsuite/cp/cp-RHL-does_not_preserve-links
Normal file
@@ -0,0 +1,6 @@
|
||||
mkdir a
|
||||
>a/file
|
||||
ln -s file a/link
|
||||
busybox cp -RHL a b
|
||||
test ! -L b/link
|
||||
#sh </dev/tty >/dev/tty 2>&1
|
Reference in New Issue
Block a user