summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2003-01-21 12:38:38 +0000
committerJim Meyering <jim@meyering.net>2003-01-21 12:38:38 +0000
commit8b32e1089e60e8fa26dea8395ce9aa6a36931d96 (patch)
treef1d175cdbaf20dbd25b988232bd465cb4a2ce235 /tests
parent59670ee05b908e152d85be4e5de3ef0669924501 (diff)
downloadcoreutils-8b32e1089e60e8fa26dea8395ce9aa6a36931d96.tar.xz
Add comment, and remove now-unnecessary -l option.
Diffstat (limited to 'tests')
-rwxr-xr-xtests/cp/same-file3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/cp/same-file b/tests/cp/same-file
index b42707cb0..3d6aa95f6 100755
--- a/tests/cp/same-file
+++ b/tests/cp/same-file
@@ -70,7 +70,8 @@ for args in 'foo symlink' 'symlink foo' 'foo foo' 'sl1 sl2' 'foo hardlink'; do
# and put brackets around the output.
test -s _err && echo "[`sed 's/^[^:][^:]*:/cp:/' _err`]"
# Strip off all but the file names.
- ls="`ls -lgG --ignore=_err . \
+ # Omit the variable-width owner and group names.
+ ls="`ls -gG --ignore=_err . \
| sed \
-e '/^total /d' \
-e 's/^......................................//'`"