Commit 65b8c30d authored by Karol Latecki's avatar Karol Latecki Committed by Tomasz Zawadzki
Browse files

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: default avatarKarol Latecki <karol.latecki@intel.com>
Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/1997


Community-CI: Mellanox Build Bot
Tested-by: default avatarSPDK CI Jenkins <sys_sgci@intel.com>
Reviewed-by: default avatarTomasz Zawadzki <tomasz.zawadzki@intel.com>
Reviewed-by: default avatarBen Walker <benjamin.walker@intel.com>
parent cc619301
Loading
Loading
Loading
Loading
+5 −2
Original line number Diff line number Diff line
@@ -320,9 +320,12 @@ function install_libiscsi()
function install_git() {
    sudo yum install -y zlib-devel curl-devel
    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"
    source /etc/bashrc
    exec $SHELL
}

function usage()