diff options
Diffstat (limited to 'tests/cp/fail-perm')
-rwxr-xr-x | tests/cp/fail-perm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/cp/fail-perm b/tests/cp/fail-perm index 404c83e39..d05189785 100755 --- a/tests/cp/fail-perm +++ b/tests/cp/fail-perm @@ -47,11 +47,11 @@ cp F symlink 2> out && fail=1 # ...: The file access permissions do not allow the specified action. # to the expected one: sed 's/: The file access permissions.*/: Permission denied/'<out>o1;mv o1 out -compare out exp || fail=1 +compare exp out || fail=1 cp --target-directory=symlink F 2> out && fail=1 sed 's/: The file access permissions.*/: Permission denied/'<out>o1;mv o1 out -compare out exp || fail=1 +compare exp out || fail=1 chmod 700 D |