summaryrefslogtreecommitdiff
path: root/tests/e2e
diff options
context:
space:
mode:
authorgy95 <1015105054@qq.com>2022-11-19 16:23:39 +0800
committergy95 <1015105054@qq.com>2022-11-19 16:23:39 +0800
commit3f2fa828bc6beb2a563515dc92d6ecaae84702f9 (patch)
tree43ce3470f6f95d2f40a01ab0beb8a597f076ff1b /tests/e2e
parentMerge pull request #4348 from my-git9/profileimage (diff)
downloadkubeedge-3f2fa828bc6beb2a563515dc92d6ecaae84702f9.tar.gz
Fix e2e variable GOPATH not set
Signed-off-by: gy95 <1015105054@qq.com>
Diffstat (limited to 'tests/e2e')
-rwxr-xr-xtests/e2e/scripts/execute.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/e2e/scripts/execute.sh b/tests/e2e/scripts/execute.sh
index 077a9ae21..c3ee96397 100755
--- a/tests/e2e/scripts/execute.sh
+++ b/tests/e2e/scripts/execute.sh
@@ -22,6 +22,8 @@ cd $workdir
curpath=$PWD
echo $PWD
+GOPATH=${GOPATH:-$(go env GOPATH)}
+
check_ginkgo_v2() {
# check if ginkgo is installed
which ginkgo &> /dev/null || (