diff options
author | Jim Meyering <jim@meyering.net> | 2003-02-08 20:08:55 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 2003-02-08 20:08:55 +0000 |
commit | 6a79d4805ec90113ea0a9d7c7197ea98a69718aa (patch) | |
tree | 6430e0fe532f3c79015c035f845727a77169994a /tests/mv | |
parent | 8aa60ca8677fee3048afd505c179162db9b2e65a (diff) | |
download | coreutils-6a79d4805ec90113ea0a9d7c7197ea98a69718aa.tar.xz |
Don't assume that the file owner username length is less than 9
in ls output: instead, omit that field altogether.
Diffstat (limited to 'tests/mv')
-rwxr-xr-x | tests/mv/part-symlink | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/mv/part-symlink b/tests/mv/part-symlink index f2514c297..cf2055fdf 100755 --- a/tests/mv/part-symlink +++ b/tests/mv/part-symlink @@ -99,18 +99,18 @@ for copy in cp mv; do } # Strip off all but the file names. # Remove any site-dependent part of each file name. - ls="`ls -lG --ignore=.err . \ + ls="`ls -gG --ignore=.err . \ | sed \ -e '/^total /d' \ -e s,$other_partition_tmpdir/,, \ -e s,$pwd_tmp/,, \ - -e 's/^...............................................//'`" - ls2="`cd $other_partition_tmpdir && ls -lG --ignore=.err . \ + -e 's/^......................................//'`" + ls2="`cd $other_partition_tmpdir && ls -gG --ignore=.err . \ | sed \ -e '/^total /d' \ -e s,$other_partition_tmpdir/,, \ -e s,$pwd_tmp/,, \ - -e 's/^...............................................//'`" + -e 's/^......................................//'`" echo "($ls) ($ls2)" # If the command failed, then it must not have changed the files. |