diff options
author | Pádraig Brady <P@draigBrady.com> | 2016-11-25 14:35:13 +0000 |
---|---|---|
committer | Pádraig Brady <P@draigBrady.com> | 2016-11-25 14:35:13 +0000 |
commit | 55f14d7a092515e5a2eb0b907d5a857fce8cc7af (patch) | |
tree | a896d1fb54cace2af12c46dd07484d10528d10a7 /tests | |
parent | d91aeef0527bf8ec0f83c3c3b69f3979c0b4c4a0 (diff) | |
download | coreutils-55f14d7a092515e5a2eb0b907d5a857fce8cc7af.tar.xz |
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).
Diffstat (limited to 'tests')
-rwxr-xr-x | tests/ls/quote-align.sh | 3 |
1 files changed, 1 insertions, 2 deletions
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 <<EOF >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 |