From d4dc47c843aaed6e11642155ad5f92ec6eb7df9d Mon Sep 17 00:00:00 2001 From: Tobias Giese Date: Thu, 18 Jul 2024 09:52:39 +0200 Subject: [PATCH] chore: fix GOPATH for e2e-conformance tests go: GOPATH entry cannot start with shell metacharacter '~': "~/go" Signed-off-by: Tobias Giese --- hack/run-e2e-conformance.sh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/hack/run-e2e-conformance.sh b/hack/run-e2e-conformance.sh index 123bbfd96b..9193cfd599 100755 --- a/hack/run-e2e-conformance.sh +++ b/hack/run-e2e-conformance.sh @@ -14,8 +14,7 @@ if [ $? -ne 0 ]; then cd - fi -GOPATH="${GOPATH:-~/go}" JUNIT_OUTPUT="${JUNIT_OUTPUT:-/tmp/artifacts}" -export PATH=$PATH:$GOPATH/bin +export PATH=$PATH:$(go env GOPATH)/bin ginkgo -output-dir=$JUNIT_OUTPUT --junit-report "unit_report.xml" -v "$SUITE" -- -report=$JUNIT_OUTPUT