diff --git a/tests/integration/federation/test.sh b/tests/integration/federation/test.sh index b3b35d8..c37ae53 100755 --- a/tests/integration/federation/test.sh +++ b/tests/integration/federation/test.sh @@ -121,7 +121,7 @@ function show_workload_status() { --pod-name $POD_NAME \ --trust-zone $TRUST_ZONE_1) - if [[ ! $WORKLOAD_STATUS_RESPONSE == *"SVID verified against trust bundle"* ]]; then + if [[ $WORKLOAD_STATUS_RESPONSE != *"SVID verified against trust bundle"* ]]; then echo "cofidectl workload status unsuccessful" exit 1 fi diff --git a/tests/integration/single-trust-zone/test.sh b/tests/integration/single-trust-zone/test.sh index 10e180b..4a501ab 100755 --- a/tests/integration/single-trust-zone/test.sh +++ b/tests/integration/single-trust-zone/test.sh @@ -89,7 +89,7 @@ function show_workload_status() { --pod-name $POD_NAME \ --trust-zone $TRUST_ZONE) - if [[ ! $WORKLOAD_STATUS_RESPONSE == *"SVID verified against trust bundle"* ]]; then + if [[ $WORKLOAD_STATUS_RESPONSE != *"SVID verified against trust bundle"* ]]; then echo "cofidectl workload status unsuccessful" exit 1 fi