]> git.ipfire.org Git - thirdparty/coreutils.git/commit
tests: df-P.sh: fix intermittent false failure
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 8 Aug 2024 17:37:48 +0000 (18:37 +0100)
committerPádraig Brady <P@draigBrady.com>
Thu, 8 Aug 2024 17:37:48 +0000 (18:37 +0100)
commitc5725c8c4bb21903490a48035286d0f94463642e
treeb5396b200f6079a6948cc4d05691f51f736933f2
parent4e98e95df277fb11fb56ddcf22aace98923656d3
tests: df-P.sh: fix intermittent false failure

The test writes to the disk and means the space used changes. If this
crosses a number boundary, the heading spacing can change:

-Filesystem     1024-blocks  Used Available Capacity Mounted on
+Filesystem     1024-blocks   Used Available Capacity Mounted on

* tests/df/df-P.sh: Squash spaces with tr to avoid alignment variations.
tests/df/df-P.sh