From 6a79d4805ec90113ea0a9d7c7197ea98a69718aa Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Sat, 8 Feb 2003 20:08:55 +0000 Subject: [PATCH] Don't assume that the file owner username length is less than 9 in ls output: instead, omit that field altogether. --- tests/mv/part-symlink | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tests/mv/part-symlink b/tests/mv/part-symlink index f2514c297e..cf2055fdf6 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. -- 2.47.2