Make cp and mv optionally preserve hard links.
This commit is contained in:
6
testsuite/cp/cp-preserves-hard-links
Normal file
6
testsuite/cp/cp-preserves-hard-links
Normal file
@ -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
|
Reference in New Issue
Block a user