From ace02dc9cd3ca0c95db5b5ebe87b9d6cd6ca1733 Mon Sep 17 00:00:00 2001 From: Matt Kraai Date: Mon, 17 Dec 2001 15:26:36 +0000 Subject: Make cp and mv optionally preserve hard links. --- testsuite/cp/cp-preserves-hard-links | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 testsuite/cp/cp-preserves-hard-links (limited to 'testsuite/cp/cp-preserves-hard-links') diff --git a/testsuite/cp/cp-preserves-hard-links b/testsuite/cp/cp-preserves-hard-links new file mode 100644 index 0000000..c17f426 --- /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 -- cgit v1.1