From: Jim Meyering Date: Sun, 7 Oct 2001 09:39:09 +0000 (+0000) Subject: *** empty log message *** X-Git-Tag: FILEUTILS-4_1_1~148 X-Git-Url: http://git.ipfire.org/gitweb/index.cgi?a=commitdiff_plain;h=fc3429bc455b661e4e6f6c13749fef5588bc4c1e;p=thirdparty%2Fcoreutils.git *** empty log message *** --- diff --git a/tests/cp/link-preserve b/tests/cp/link-preserve index cdd98cccee..b818833d62 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