summaryrefslogtreecommitdiff
path: root/testsuite/cp/cp-preserves-links
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/cp/cp-preserves-links')
-rw-r--r--testsuite/cp/cp-preserves-links4
1 files changed, 4 insertions, 0 deletions
diff --git a/testsuite/cp/cp-preserves-links b/testsuite/cp/cp-preserves-links
new file mode 100644
index 0000000..a5269e8
--- /dev/null
+++ b/testsuite/cp/cp-preserves-links
@@ -0,0 +1,4 @@
+touch foo
+ln -s foo bar
+busybox cp -d bar baz
+test -L baz