test scripts: add -E to sudo git clone in vm_setup.sh
Running as a non-privileged user, sudo git clone won't work without the -E because it won't get the proxy settings, for those using a proxy. Change-Id: I8b471abf0066312b0eb63449d00a5647737c0136 Signed-off-by: paul luse <paul.e.luse@intel.com> Reviewed-on: https://review.gerrithub.io/c/spdk/spdk/+/446162 Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by: Seth Howell <seth.howell5141@gmail.com> Reviewed-by: Jim Harris <james.r.harris@intel.com> Reviewed-by: Ben Walker <benjamin.walker@intel.com>
This commit is contained in:
parent
3181ef203c
commit
5133af0921
@ -292,7 +292,7 @@ function install_ocf()
|
||||
|
||||
if echo $CONF | grep -q ocf; then
|
||||
if [ ! -d "$targetdir" ]; then
|
||||
sudo git clone "${GIT_REPO_OCF}" "$targetdir" -b "$version"
|
||||
sudo -E git clone "${GIT_REPO_OCF}" "$targetdir" -b "$version"
|
||||
else
|
||||
echo "OCF already installed. Skipping"
|
||||
fi
|
||||
|
Loading…
x
Reference in New Issue
Block a user