test/vm_setup.sh add missing step to install_git

"make configure" was missing.
Run "exec $SHELL" to reload current shell and use
new git thanks to updated PATH.

Change-Id: Ia92a6a3ce3ccf515a23353d91b8cde3a13b7c92b
Signed-off-by: Karol Latecki <karol.latecki@intel.com>
Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/1997
Community-CI: Mellanox Build Bot
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
Reviewed-by: Tomasz Zawadzki <tomasz.zawadzki@intel.com>
Reviewed-by: Ben Walker <benjamin.walker@intel.com>
This commit is contained in:
Karol Latecki 2020-04-23 09:55:51 +02:00 committed by Tomasz Zawadzki
parent cc619301fd
commit 65b8c30d54

View File

@ -320,9 +320,12 @@ function install_libiscsi()
function install_git() { function install_git() {
sudo yum install -y zlib-devel curl-devel sudo yum install -y zlib-devel curl-devel
tar -xzof <(wget -qO- "$GIT_REPO_GIT") tar -xzof <(wget -qO- "$GIT_REPO_GIT")
(cd git-${GIT_VERSION} && ./configure --prefix=/usr/local/git && sudo make -j${jobs} install) (cd git-${GIT_VERSION} && \
make configure && \
./configure --prefix=/usr/local/git && \
sudo make -j${jobs} install)
sudo sh -c "echo 'export PATH=/usr/local/git/bin:$PATH' >> /etc/bashrc" sudo sh -c "echo 'export PATH=/usr/local/git/bin:$PATH' >> /etc/bashrc"
source /etc/bashrc exec $SHELL
} }
function usage() function usage()