summaryrefslogtreecommitdiff
path: root/tests/cp/link-preserve
diff options
context:
space:
mode:
Diffstat (limited to 'tests/cp/link-preserve')
-rwxr-xr-xtests/cp/link-preserve2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/cp/link-preserve b/tests/cp/link-preserve
index 99f44442c..cdd98ccce 100755
--- a/tests/cp/link-preserve
+++ b/tests/cp/link-preserve
@@ -20,7 +20,7 @@ cd $tmp || framework_failure=1
touch a || framework_failure=1
ln a b || framework_failure=1
mkdir c || framework_failure=1
-cp a b c || framework_failure=1
+cp -a a b c || framework_failure=1
test -f c/a || framework_failure=1
test -f c/b || framework_failure=1