diff options
author | Jim Meyering <jim@meyering.net> | 1999-01-18 02:54:36 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 1999-01-18 02:54:36 +0000 |
commit | 890d74d50b72479eb5d4a193b64cd46d660112de (patch) | |
tree | f47e5e2716b4cd3027b9ccacf91f9da609fe37f0 /tests/cp/no-deref-link1 | |
parent | f0f15679fb833285f2c21d4cb2d5b4fd54389452 (diff) | |
download | coreutils-890d74d50b72479eb5d4a193b64cd46d660112de.tar.xz |
Now that PATH is set properly, use rm and cp rather than $RM and $CP.
Diffstat (limited to 'tests/cp/no-deref-link1')
-rwxr-xr-x | tests/cp/no-deref-link1 | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/tests/cp/no-deref-link1 b/tests/cp/no-deref-link1 index a1a756c68..3a85c4994 100755 --- a/tests/cp/no-deref-link1 +++ b/tests/cp/no-deref-link1 @@ -2,11 +2,9 @@ # FIXME: This test requires ln -s. # cp from 3.16 fails this test -: ${CP=cp} - if test "$VERBOSE" = yes; then set -x - $CP --version + cp --version fi rm -rf a b @@ -21,7 +19,7 @@ fail=0 # It should fail with a message something like this: # ./cp: `a/foo' and `b/foo' are the same file -$CP -d a/foo b 2>/dev/null +cp -d a/foo b 2>/dev/null # Fail this test if the exit status is not 1 test $? = 1 || fail=1 |