Skip to content

Commit

Permalink
Update integration_test.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
imjasonh committed May 21, 2024
1 parent 7cb29ac commit c9e27f0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions integration_test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ else
fi

echo "2. Test knative 'KO_FLAGS' variable is ignored."
# https://github.com/ko-build/ko/issues/1317
RESULT="$(KO_FLAGS="--platform=badvalue" ./ko build --local --platform="linux/$GOARCH" "$GOPATH/src/github.com/google/ko/test" | grep "$FILTER" | xargs -I% docker run %)"
if [[ "$RESULT" != *"Hello there"* ]]; then
echo "Test FAILED. Saw $RESULT" && exit 1
Expand Down

0 comments on commit c9e27f0

Please sign in to comment.