summaryrefslogtreecommitdiff
path: root/tests/mv/part-symlink
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2003-02-08 20:08:55 +0000
committerJim Meyering <jim@meyering.net>2003-02-08 20:08:55 +0000
commit6a79d4805ec90113ea0a9d7c7197ea98a69718aa (patch)
tree6430e0fe532f3c79015c035f845727a77169994a /tests/mv/part-symlink
parent8aa60ca8677fee3048afd505c179162db9b2e65a (diff)
downloadcoreutils-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/part-symlink')
-rwxr-xr-xtests/mv/part-symlink8
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.