]> www.infradead.org Git - users/hch/xfstests-dev.git/commitdiff
xfs/076: fix broken mkfs filtering
authorDave Chinner <dchinner@redhat.com>
Tue, 26 Nov 2024 23:41:26 +0000 (10:41 +1100)
committerZorro Lang <zlang@kernel.org>
Sun, 8 Dec 2024 14:17:29 +0000 (22:17 +0800)
The test does not do what it says on the packet - the mkfs output is
not actually passed to the mkfs filter, so it doesn't know what
inode size mkfs actually used. Hence CHUNK_SIZE ends up being
calculated as 0, and that means it enters an endless loop because
offset never decreases.

Fix it by adding the missing line continuation.

Signed-off-by: Dave Chinner <dchinner@redhat.com>
Reviewed-by: Zorro lang <zlang@redhat.com>
Signed-off-by: Zorro Lang <zlang@kernel.org>
tests/xfs/076

index e315a067c85de282829ebca09ee07b05001e03f0..2ea6459b0dbe1eba254787397a3fbb286ed87265 100755 (executable)
@@ -68,7 +68,7 @@ _require_xfs_sparse_inodes
 # bitmap consuming all the free space in our small data device.
 unset SCRATCH_RTDEV
 
-_scratch_mkfs "-d size=96m -m crc=1 -i sparse" | tee -a $seqres.full |
+_scratch_mkfs "-d size=96m -m crc=1 -i sparse" | tee -a $seqres.full | \
        _filter_mkfs > /dev/null 2> $tmp.mkfs
 . $tmp.mkfs    # for isize