diff --git a/test/common/config/pkgdep/git b/test/common/config/pkgdep/git index c73f9ae52..e4aee3080 100644 --- a/test/common/config/pkgdep/git +++ b/test/common/config/pkgdep/git @@ -300,6 +300,7 @@ export DRIVER_LOCATION_QAT export GIT_REPO_GIT GIT_REPOS=${GIT_REPOS:-$HOME} +gcc_version=$(gcc -dumpversion) gcc_version=${gcc_version%%.*} if [[ $ID == centos ]] && (( VERSION_ID == 7 )); then # install proper version of the git first install_git diff --git a/test/common/config/vm_setup.sh b/test/common/config/vm_setup.sh index 603f57468..cde8b6c72 100755 --- a/test/common/config/vm_setup.sh +++ b/test/common/config/vm_setup.sh @@ -29,7 +29,6 @@ VM_SETUP_PATH=$(readlink -f ${BASH_SOURCE%/*}) UPGRADE=false INSTALL=false CONF="rocksdb,fio,flamegraph,tsocks,qemu,vpp,libiscsi,nvmecli,qat,spdk,refspdk" -gcc_version=$(gcc -dumpversion) gcc_version=${gcc_version%%.*} if [[ -e /etc/os-release ]]; then source /etc/os-release