From 10e22e8bef26323de728e0cf405e798003602c29 Mon Sep 17 00:00:00 2001 From: Luke McCrone Date: Mon, 24 Jun 2024 16:25:03 -0300 Subject: [PATCH] test: updated test to match error change --- tests/test_aws.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_aws.sh b/tests/test_aws.sh index 6d7e0d42..a8ae22d4 100755 --- a/tests/test_aws.sh +++ b/tests/test_aws.sh @@ -782,7 +782,7 @@ EOF fail "put succeeded despite malformed policy" fi # shellcheck disable=SC2154 - [[ "$put_bucket_policy_error" == *"MalformedPolicy"*"unsupported action"* ]] || fail "invalid policy error: $put_bucket_policy_error" + [[ "$put_bucket_policy_error" == *"MalformedPolicy"*"invalid action"* ]] || fail "invalid policy error: $put_bucket_policy_error" delete_bucket_or_contents "aws" "$BUCKET_ONE_NAME" delete_test_files "$policy_file" }