diff options
author | Jim Meyering <jim@meyering.net> | 2001-10-07 07:52:40 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 2001-10-07 07:52:40 +0000 |
commit | 94eb7340ec8e9c9217d1861b8ab2ab01d01734f6 (patch) | |
tree | 8fa4597920c40f540e651f65c4f45957caab0db8 /tests/cp/link-preserve | |
parent | 79476921efbb7f86bbadcd58e077c343d7a23180 (diff) | |
download | coreutils-94eb7340ec8e9c9217d1861b8ab2ab01d01734f6.tar.xz |
whoops. use cp's -a option
Diffstat (limited to 'tests/cp/link-preserve')
-rwxr-xr-x | tests/cp/link-preserve | 2 |
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 |