summaryrefslogtreecommitdiff
path: root/tests/cp
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2001-10-07 09:39:09 +0000
committerJim Meyering <jim@meyering.net>2001-10-07 09:39:09 +0000
commitfc3429bc455b661e4e6f6c13749fef5588bc4c1e (patch)
treece81c1b736b80418f6a6489a8f842f948ba43f84 /tests/cp
parent06ab93322091cab4f80512daa3365577514aa37b (diff)
downloadcoreutils-fc3429bc455b661e4e6f6c13749fef5588bc4c1e.tar.xz
*** empty log message ***
Diffstat (limited to 'tests/cp')
-rwxr-xr-xtests/cp/link-preserve4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/cp/link-preserve b/tests/cp/link-preserve
index cdd98ccce..b818833d6 100755
--- a/tests/cp/link-preserve
+++ b/tests/cp/link-preserve
@@ -1,5 +1,5 @@
#!/bin/sh
-# ensure that hard-link structure between command line arguments is preserved
+# ensure that `cp -d' preserves hard-links between command line arguments
if test "$VERBOSE" = yes; then
set -x
@@ -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 a b c || framework_failure=1
+cp -d a b c || framework_failure=1
test -f c/a || framework_failure=1
test -f c/b || framework_failure=1