summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xtests/cp/same-file3
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/cp/same-file b/tests/cp/same-file
index b64af3052..82327d343 100755
--- a/tests/cp/same-file
+++ b/tests/cp/same-file
@@ -51,8 +51,7 @@ for args in 'foo symlink' 'symlink foo' 'foo foo' 'sl1 sl2' 'foo hardlink'; do
ls="`ls -lG $exclude . \
| sed \
-e '/^total /d' \
- -e 's/^..............................................//' \
- `"
+ -e 's/^..............................................//'`"
echo "($ls)"
# Make sure the original is unchanged and that
# the destination is a copy.