diff options
author | kraai <kraai@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2001-12-17 15:26:36 +0000 |
---|---|---|
committer | kraai <kraai@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2001-12-17 15:26:36 +0000 |
commit | a71ab54376eed7d51c028ca7986fa7667417d3c7 (patch) | |
tree | 1dec04901febc0fd63ac5b92bc2cca4333689477 /testsuite/cp | |
parent | b38aba2140fc308cb4040e2241bdff352f0f93e8 (diff) | |
download | busybox-w32-a71ab54376eed7d51c028ca7986fa7667417d3c7.tar.gz busybox-w32-a71ab54376eed7d51c028ca7986fa7667417d3c7.tar.bz2 busybox-w32-a71ab54376eed7d51c028ca7986fa7667417d3c7.zip |
Make cp and mv optionally preserve hard links.
git-svn-id: svn://busybox.net/trunk/busybox@3894 69ca8d6d-28ef-0310-b511-8ec308f3f277
Diffstat (limited to 'testsuite/cp')
-rw-r--r-- | testsuite/cp/cp-preserves-hard-links | 6 |
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 @@ | |||
1 | # UNSUPPORTED: CONFIG_FEATURE_PRESERVE_HARDLINKS | ||
2 | touch foo | ||
3 | ln foo bar | ||
4 | mkdir baz | ||
5 | busybox cp -d foo bar baz | ||
6 | test baz/foo -ef baz/bar | ||