Skip to content

Commit

Permalink
[From review] Use !=
Browse files Browse the repository at this point in the history
  • Loading branch information
nialdaly committed Jan 2, 2025
1 parent a8b446f commit a112cd0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion tests/integration/federation/test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion tests/integration/single-trust-zone/test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit a112cd0

Please sign in to comment.