diff options
author | Jim Meyering <jim@meyering.net> | 2001-10-07 09:39:09 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 2001-10-07 09:39:09 +0000 |
commit | fc3429bc455b661e4e6f6c13749fef5588bc4c1e (patch) | |
tree | ce81c1b736b80418f6a6489a8f842f948ba43f84 /tests/cp | |
parent | 06ab93322091cab4f80512daa3365577514aa37b (diff) | |
download | coreutils-fc3429bc455b661e4e6f6c13749fef5588bc4c1e.tar.xz |
*** empty log message ***
Diffstat (limited to 'tests/cp')
-rwxr-xr-x | tests/cp/link-preserve | 4 |
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 |