Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
anirbanmu committed Jul 30, 2024
1 parent adfe385 commit edf0c6c
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion tests/tests.bats
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,10 @@ base_image=eclipse-temurin-11

@test "$SUT_TAG curl is installed" {
run docker run --rm $SUT_IMAGE:$SUT_TAG curl --version
if [[ "$SUT_TAG" == amazoncorretto-*-debian ]]; then
if (
[[ "$SUT_TAG" == amazoncorretto-*-debian ]] ||
[[ "$SUT_TAG" == azulzulu-*-debian ]]
); then
[ $status -ne 0 ]
else
[ $status -eq 0 ]
Expand Down

0 comments on commit edf0c6c

Please sign in to comment.