From c0431ed455a601ddbfcd9f30d6397d4e9145cf54 Mon Sep 17 00:00:00 2001 From: Denis Vlasenko Date: Sun, 27 Apr 2008 22:06:24 +0000 Subject: cp: fix "cp -RL" to create regular files even if src is a symlink --- testsuite/cp/cp-RHL-does_not_preserve-links | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 testsuite/cp/cp-RHL-does_not_preserve-links (limited to 'testsuite/cp') 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 2>&1 -- cgit v1.2.3