From: Jim Meyering Date: Sun, 7 Oct 2001 07:52:40 +0000 (+0000) Subject: whoops. use cp's -a option X-Git-Tag: FILEUTILS-4_1_1~153 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=94eb7340ec8e9c9217d1861b8ab2ab01d01734f6;p=thirdparty%2Fcoreutils.git whoops. use cp's -a option --- diff --git a/tests/cp/link-preserve b/tests/cp/link-preserve index 99f44442c5..cdd98cccee 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