diff options
author | Denis Vlasenko | 2008-04-27 22:06:24 +0000 |
---|---|---|
committer | Denis Vlasenko | 2008-04-27 22:06:24 +0000 |
commit | c0431ed455a601ddbfcd9f30d6397d4e9145cf54 (patch) | |
tree | 7eade59699338d065827751d37e72e45d2b4440b /testsuite/cp | |
parent | 4809a9f78eecc7346e5d73b7f60ae6c51e057632 (diff) | |
download | busybox-c0431ed455a601ddbfcd9f30d6397d4e9145cf54.zip busybox-c0431ed455a601ddbfcd9f30d6397d4e9145cf54.tar.gz |
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 0000000..eed6c3e --- /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 |