From 78054a76da3c29e1a97ca01acbec85170f6db1e6 Mon Sep 17 00:00:00 2001 From: Shin'ichiro Kawasaki Date: Mon, 14 Nov 2022 11:13:08 +0900 Subject: [PATCH] t/zbd: add test case to check experimental_verify option The option experimental_verify does not work with zonemode=zbd. Add a test case to check that fio errors out when the both options are specified. Signed-off-by: Shin'ichiro Kawasaki Tested-by: Dmitry Fomichev Reviewed-by: Dmitry Fomichev Signed-off-by: Vincent Fu --- t/zbd/test-zbd-support | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/t/zbd/test-zbd-support b/t/zbd/test-zbd-support index 5124296c..4091d9ac 100755 --- a/t/zbd/test-zbd-support +++ b/t/zbd/test-zbd-support @@ -1297,6 +1297,14 @@ test59() { done } +# Test fio errors out experimental_verify option with zonemode=zbd. +test60() { + run_fio_on_seq "$(ioengine "psync")" --rw=write --size=$zone_size \ + --do_verify=1 --verify=md5 --experimental_verify=1 \ + >> "${logfile}.${test_number}" 2>&1 && return 1 + grep -q 'not support experimental verify' "${logfile}.${test_number}" +} + SECONDS=0 tests=() dynamic_analyzer=() -- 2.25.1