From a71ab54376eed7d51c028ca7986fa7667417d3c7 Mon Sep 17 00:00:00 2001 From: kraai Date: Mon, 17 Dec 2001 15:26:36 +0000 Subject: Make cp and mv optionally preserve hard links. git-svn-id: svn://busybox.net/trunk/busybox@3894 69ca8d6d-28ef-0310-b511-8ec308f3f277 --- 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') 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 -- cgit v1.2.3-55-g6feb