From: Assaf Gordon Date: Fri, 22 May 2015 18:09:27 +0000 (-0400) Subject: tests: df-output: accept multiple spaces in header X-Git-Tag: v8.24~54 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b5f332cfe06956f972aa385b38a40d2a0c675d09;p=thirdparty%2Fcoreutils.git tests: df-output: accept multiple spaces in header * tests/df/df-output.sh: Allow for multiple spaces in the header line of 'df', resulting from alignment with disk sizes >= 10TB. --- diff --git a/tests/df/df-output.sh b/tests/df/df-output.sh index f469d4151c..d81f0ee434 100755 --- a/tests/df/df-output.sh +++ b/tests/df/df-output.sh @@ -93,7 +93,7 @@ EOF df -B1K --output=size '.' >out || fail=1 sed -e '1 { - s/ // + s/ *// q }' out > out2 compare exp out2 || fail=1