diff options
author | Denis Vlasenko <vda.linux@googlemail.com> | 2008-04-27 22:06:24 +0000 |
---|---|---|
committer | Denis Vlasenko <vda.linux@googlemail.com> | 2008-04-27 22:06:24 +0000 |
commit | c0431ed455a601ddbfcd9f30d6397d4e9145cf54 (patch) | |
tree | 7eade59699338d065827751d37e72e45d2b4440b /testsuite/cp | |
parent | 4809a9f78eecc7346e5d73b7f60ae6c51e057632 (diff) |
cp: fix "cp -RL" to create regular files even if src is a symlink
Diffstat (limited to 'testsuite/cp')
-rw-r--r-- | testsuite/cp/cp-RHL-does_not_preserve-links | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/testsuite/cp/cp-RHL-does_not_preserve-links b/testsuite/cp/cp-RHL-does_not_preserve-links new file mode 100644 index 000000000..eed6c3ec5 --- /dev/null +++ b/testsuite/cp/cp-RHL-does_not_preserve-links @@ -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 |