aboutsummaryrefslogtreecommitdiff
path: root/testsuite
diff options
context:
space:
mode:
authorMatt Kraai <kraai@debian.org>2001-12-17 15:26:36 +0000
committerMatt Kraai <kraai@debian.org>2001-12-17 15:26:36 +0000
commitace02dc9cd3ca0c95db5b5ebe87b9d6cd6ca1733 (patch)
tree1dec04901febc0fd63ac5b92bc2cca4333689477 /testsuite
parent46ea0e4696456061ad7ce799658f737c24f781a6 (diff)
downloadbusybox-ace02dc9cd3ca0c95db5b5ebe87b9d6cd6ca1733.tar.gz
Make cp and mv optionally preserve hard links.
Diffstat (limited to 'testsuite')
-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 000000000..c17f42635
--- /dev/null
+++ b/testsuite/cp/cp-preserves-hard-links
@@ -0,0 +1,6 @@
+# UNSUPPORTED: CONFIG_FEATURE_PRESERVE_HARDLINKS
+touch foo
+ln foo bar
+mkdir baz
+busybox cp -d foo bar baz
+test baz/foo -ef baz/bar