diff --git a/test/dd/common.sh b/test/dd/common.sh index 1475274ec..5c63c1eba 100644 --- a/test/dd/common.sh +++ b/test/dd/common.sh @@ -38,6 +38,10 @@ gen_conf() { # of the values is done here. extra_subsystems[] can store extra # json configuration for different subsystems, other than bdev. + if (($# == 0)) && [[ -z ${!method_@} ]]; then + return 1 + fi + methods=("${@:-${!method_@}}") local IFS=","