From 710dca5363eb48cd74ed9e276f77f611333a60f2 Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Mon, 8 Dec 2003 09:03:51 +0000 Subject: Don't assume that 'ls' output is fixed-width. --- tests/mv/part-symlink | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tests') diff --git a/tests/mv/part-symlink b/tests/mv/part-symlink index ccceee511..e009b8449 100755 --- a/tests/mv/part-symlink +++ b/tests/mv/part-symlink @@ -108,13 +108,13 @@ for copy in cp mv; do -e '/^total /d' \ -e s,$other_partition_tmpdir/,, \ -e s,$pwd_tmp/,, \ - -e 's/^......................................//'`" + -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. -- cgit v1.2.3-70-g09d2