summaryrefslogtreecommitdiff
path: root/tests/cp/same-file
diff options
context:
space:
mode:
Diffstat (limited to 'tests/cp/same-file')
-rwxr-xr-xtests/cp/same-file4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/cp/same-file b/tests/cp/same-file
index 32bdc2a6e..58b8fbae2 100755
--- a/tests/cp/same-file
+++ b/tests/cp/same-file
@@ -110,10 +110,10 @@ for args in 'foo symlink' 'symlink foo' 'foo foo' 'sl1 sl2' 'foo hardlink'; do
' _err
fi
# Strip off all but the file names.
- ls="`ls -gG --ignore=_err . \
+ ls=`ls -gG --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.