diff options
Diffstat (limited to 'tests')
-rwxr-xr-x | tests/cp/same-file | 3 |
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/^......................................//'`" |