diff options
Diffstat (limited to 'tests/cp/no-deref-link2')
-rwxr-xr-x | tests/cp/no-deref-link2 | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/tests/cp/no-deref-link2 b/tests/cp/no-deref-link2 index 5c194a080..963e5af22 100755 --- a/tests/cp/no-deref-link2 +++ b/tests/cp/no-deref-link2 @@ -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' and `b/foo' are the same file -$CP -d a b 2>/dev/null +cp -d a b 2>/dev/null # Fail this test if the exit status is not 1 test $? = 1 || fail=1 |