diff --git a/t/zbd/test-zbd-support b/t/zbd/test-zbd-support index 996160e769..8657795226 100755 --- a/t/zbd/test-zbd-support +++ b/t/zbd/test-zbd-support @@ -460,7 +460,8 @@ test11() { test12() { local size off capacity - prep_write + [ -n "$is_zbd" ] && reset_zone "$dev" -1 + size=$((8 * zone_size)) off=$((first_sequential_zone_sector * 512)) capacity=$(total_zone_capacity 8 $off $dev) @@ -477,7 +478,8 @@ test13() { require_max_open_zones 4 || return $SKIP_TESTCASE - prep_write + [ -n "$is_zbd" ] && reset_zone "$dev" -1 + size=$((8 * zone_size)) off=$((first_sequential_zone_sector * 512)) capacity=$(total_zone_capacity 8 $off $dev) @@ -726,7 +728,9 @@ test29() { require_seq_zones 80 || return $SKIP_TESTCASE off=$((first_sequential_zone_sector * 512 + 64 * zone_size)) size=$((16*zone_size)) - prep_write + + [ -n "$is_zbd" ] && reset_zone "$dev" -1 + opts=("--debug=zbd") for ((i=0;i