summaryrefslogtreecommitdiff
path: root/tests/cp/same-file
diff options
context:
space:
mode:
Diffstat (limited to 'tests/cp/same-file')
-rwxr-xr-xtests/cp/same-file2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/cp/same-file b/tests/cp/same-file
index 305507b08..37a174cab 100755
--- a/tests/cp/same-file
+++ b/tests/cp/same-file
@@ -57,7 +57,7 @@ for args in 'foo symlink' 'symlink foo' 'foo foo' 'sl1 sl2' 'foo hardlink'; do
ls="`ls -lG --ignore=.err . \
| sed \
-e '/^total /d' \
- -e 's/^..............................................//'`"
+ -e 's/^...............................................//'`"
echo "($ls)"
# Make sure the original is unchanged and that
# the destination is a copy.