From 55f14d7a092515e5a2eb0b907d5a857fce8cc7af Mon Sep 17 00:00:00 2001 From: Pádraig Brady Date: Fri, 25 Nov 2016 14:35:13 +0000 Subject: 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). --- tests/ls/quote-align.sh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'tests/ls') diff --git a/tests/ls/quote-align.sh b/tests/ls/quote-align.sh index d9e2c6321..a27a0927a 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 -- cgit v1.2.3-70-g09d2