[PATCH 11/12] t/zbd: avoid test case 33 failure due to zone end remainder

Shin'ichiro Kawasaki <[email protected]> Fri, 9 Jan 2026 11:36:02 +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 33, 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 | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/t/zbd/test-zbd-support b/t/zbd/test-zbd-support
index e7a711b9..c3ccb559 100755
--- a/t/zbd/test-zbd-support
+++ b/t/zbd/test-zbd-support
@@ -977,7 +977,7 @@ test33() {
     run_fio_on_seq "$(ioengine "psync")" --iodepth=1 --rw=write	\
 		   --size=$size --io_size=$io_size --bs=$bs	\
 		   >> "${logfile}.${test_number}" 2>&1 || return $?
-    check_written $((io_size / bs * bs)) || return $?
+    check_written $((io_size)) || return $?
 }
 
 # Test repeated async write job with verify using two unaligned block sizes.
-- 
2.49.0