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