From 55f14d7a092515e5a2eb0b907d5a857fce8cc7af Mon Sep 17 00:00:00 2001 From: =?utf8?q?P=C3=A1draig=20Brady?= Date: Fri, 25 Nov 2016 14:35:13 +0000 Subject: [PATCH] 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(-) 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 -- 2.47.2