test: check that we do not bump major so rev twice

Signed-off-by: Jim Harris <james.r.harris@intel.com>
Change-Id: Ic1d247ff1335310ca0e4be947ca9f602ee7f874e
Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/4422
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
Reviewed-by: Changpeng Liu <changpeng.liu@intel.com>
Reviewed-by: Aleksey Marchuk <alexeymar@mellanox.com>
This commit is contained in:
Jim Harris 2020-09-25 23:24:23 +00:00 committed by Tomasz Zawadzki
parent 7d6c341a59
commit d368ee4a72

View File

@ -131,6 +131,11 @@ EOF
echo "SO minor version for $so_file was incremented more than once. Please revert minor version to $expected_new_so_min." echo "SO minor version for $so_file was incremented more than once. Please revert minor version to $expected_new_so_min."
touch $fail_file touch $fail_file
fi fi
if ((new_so_maj > old_so_maj + 1)); then
echo "SO major version for $so_file was incremented more than once. Please revert major version to $((old_so_maj + 1))."
touch $fail_file
fi
fi fi
continue continue