From: Pádraig Brady Date: Fri, 25 Nov 2016 14:35:13 +0000 (+0000) Subject: tests: fix false failure on new ls test X-Git-Tag: v8.26~15 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=55f14d7a092515e5a2eb0b907d5a857fce8cc7af;p=thirdparty%2Fcoreutils.git tests: fix false failure on new ls test * tests/ls/quote-align.sh: Remove "total" line which can vary per file system depending on allocation. Reported by Assaf Gordon on OpenSolaris (5.11/5.10). --- diff --git a/tests/ls/quote-align.sh b/tests/ls/quote-align.sh index d9e2c63217..a27a0927ac 100755 --- a/tests/ls/quote-align.sh +++ b/tests/ls/quote-align.sh @@ -34,7 +34,6 @@ cat <exp || framework_failure_ '$dirname': 'a b' ${c_pre}c.foo${c_post} '$dirname': -total 0 'a b' ${c_pre}c.foo${c_post} '$dirname': @@ -56,7 +55,7 @@ done echo >> out || fail=1 # Strip possible varying portion of long format -sed 's/.*T //' out > k && mv k out +sed -e 's/.*T //' -e '/^total/d' out > k && mv k out compare exp out || fail=1