summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAssaf Gordon <assafgordon@gmail.com>2015-05-22 14:09:27 -0400
committerPádraig Brady <P@draigBrady.com>2015-05-22 20:45:23 +0100
commitb5f332cfe06956f972aa385b38a40d2a0c675d09 (patch)
tree5b11a051dab8d989a34424cee1eebcaf7c21c63e
parentedc5bc5020e67c0835b6e4cf8fd9fef81055c148 (diff)
downloadcoreutils-b5f332cfe06956f972aa385b38a40d2a0c675d09.tar.xz
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.
-rwxr-xr-xtests/df/df-output.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/df/df-output.sh b/tests/df/df-output.sh
index f469d4151..d81f0ee43 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