[PATCH 12/12] t/zbd: avoid test case 71 failure due to zone end remainder
Shin'ichiro Kawasaki <[email protected]> Fri, 9 Jan 2026 11:36:03 +0900
| Newsgroups | org.kernel.vger.fio |
|---|---|
| Message-ID | <[email protected]> |
The recent change introduced the writes to small remainder areas at zone ends. This changed the number of writes of the test case 71, and made the test case fail. To avoid the failure, modify the test condition of the test case. Signed-off-by: Shin'ichiro Kawasaki <[email protected]> --- t/zbd/test-zbd-support | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/t/zbd/test-zbd-support b/t/zbd/test-zbd-support index c3ccb559..ae731d5a 100755 --- a/t/zbd/test-zbd-support +++ b/t/zbd/test-zbd-support @@ -1737,7 +1737,8 @@ test71() { --max_open_zones=1 --debug=zbd \ >> "${logfile}.${test_number}" 2>&1 || return $? - check_written $((zone_size * 8)) || return $? + check_written $((zone_size * 8)) || + check_written $((zone_size *8 + 4096)) || return $? } set_nullb_badblocks() { -- 2.49.0