diff options
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 | ||