aboutsummaryrefslogtreecommitdiff
path: root/testsuite/cp/cp-preserves-hard-links
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/cp/cp-preserves-hard-links')
-rw-r--r--testsuite/cp/cp-preserves-hard-links6
1 files changed, 6 insertions, 0 deletions
diff --git a/testsuite/cp/cp-preserves-hard-links b/testsuite/cp/cp-preserves-hard-links
new file mode 100644
index 0000000..4de7b85
--- /dev/null
+++ b/testsuite/cp/cp-preserves-hard-links
@@ -0,0 +1,6 @@
+# FEATURE: CONFIG_FEATURE_PRESERVE_HARDLINKS
+touch foo
+ln foo bar
+mkdir baz
+busybox cp -d foo bar baz
+test baz/foo -ef baz/bar