diff --git a/test/common/autotest_common.sh b/test/common/autotest_common.sh index e0490f7ea..17a80794a 100755 --- a/test/common/autotest_common.sh +++ b/test/common/autotest_common.sh @@ -831,6 +831,11 @@ function nvme_cli_build() { exit 1 fi + if ! grep -q "DEF_VER=v1.6" $spdk_nvme_cli/NVME-VERSION-GEN; then + echo "SPDK supports only \"spdk/nvme-cli\" project on \"spdk-1.6\" branch." + exit 1 + fi + # Build against the version of SPDK under test pushd $spdk_nvme_cli