From aa3889ef87ec0b3cf100fc7f2b36d9d28fd4964d Mon Sep 17 00:00:00 2001 From: Luke McCrone Date: Tue, 12 May 2026 19:16:38 -0300 Subject: [PATCH] test: fix imports --- tests/test_rest_head_object.sh | 3 +++ tests/test_s3.sh | 1 + tests/test_s3api_bucket.sh | 1 + tests/test_s3cmd.sh | 1 + tests/test_user_aws.sh | 1 + tests/test_user_s3cmd.sh | 1 + 6 files changed, 8 insertions(+) diff --git a/tests/test_rest_head_object.sh b/tests/test_rest_head_object.sh index 6f177989..72fb25fa 100755 --- a/tests/test_rest_head_object.sh +++ b/tests/test_rest_head_object.sh @@ -104,6 +104,9 @@ source ./tests/drivers/string.sh } @test "REST - HeadObject - invalid request header type" { + if [ "$DIRECT" != "true" ]; then + skip "https://github.com/versity/versitygw/issues/2075" + fi run setup_bucket_and_add_file_v2 "$BUCKET_ONE_NAME" assert_success read -r bucket_name file_name <<< "$output" diff --git a/tests/test_s3.sh b/tests/test_s3.sh index 468eb886..76374638 100755 --- a/tests/test_s3.sh +++ b/tests/test_s3.sh @@ -18,6 +18,7 @@ load ./bats-support/load load ./bats-assert/load source ./tests/drivers/create_bucket/create_bucket_rest.sh +source ./tests/drivers/list_buckets/list_buckets.sh source ./tests/drivers/put_bucket_ownership_controls/put_bucket_ownership_controls_rest.sh source ./tests/drivers/file.sh source ./tests/test_common.sh diff --git a/tests/test_s3api_bucket.sh b/tests/test_s3api_bucket.sh index f1f2f3a0..1d893e77 100755 --- a/tests/test_s3api_bucket.sh +++ b/tests/test_s3api_bucket.sh @@ -52,6 +52,7 @@ source ./tests/drivers/get_bucket_tagging/get_bucket_tagging.sh source ./tests/drivers/get_bucket_tagging/get_bucket_tagging_rest.sh source ./tests/drivers/head_bucket/head_bucket_rest.sh source ./tests/drivers/head_bucket/head_bucket_s3api.sh +source ./tests/drivers/list_buckets/list_buckets.sh source ./tests/drivers/put_bucket_ownership_controls/put_bucket_ownership_controls_rest.sh source ./tests/util/util_lock_config.sh source ./tests/util/util_object.sh diff --git a/tests/test_s3cmd.sh b/tests/test_s3cmd.sh index 465a7158..e8a9c070 100755 --- a/tests/test_s3cmd.sh +++ b/tests/test_s3cmd.sh @@ -24,6 +24,7 @@ source ./tests/commands/delete_bucket_policy.sh source ./tests/commands/get_bucket_policy.sh source ./tests/commands/put_bucket_policy.sh source ./tests/drivers/get_bucket_location/get_bucket_location.sh +source ./tests/drivers/list_buckets/list_buckets.sh source ./tests/drivers/put_bucket_ownership_controls/put_bucket_ownership_controls_rest.sh source ./tests/util/util_object.sh diff --git a/tests/test_user_aws.sh b/tests/test_user_aws.sh index 68daed63..685d656e 100755 --- a/tests/test_user_aws.sh +++ b/tests/test_user_aws.sh @@ -20,6 +20,7 @@ load ./bats-assert/load source ./tests/test_user_common.sh source ./tests/commands/get_object.sh source ./tests/commands/put_object.sh +source ./tests/drivers/list_buckets/list_buckets_s3api.sh source ./tests/drivers/put_bucket_ownership_controls/put_bucket_ownership_controls_rest.sh source ./tests/drivers/file.sh source ./tests/drivers/user.sh diff --git a/tests/test_user_s3cmd.sh b/tests/test_user_s3cmd.sh index afebe4b2..9328729c 100755 --- a/tests/test_user_s3cmd.sh +++ b/tests/test_user_s3cmd.sh @@ -17,6 +17,7 @@ load ./bats-support/load load ./bats-assert/load +source ./tests/drivers/list_buckets/list_buckets.sh source ./tests/drivers/put_bucket_ownership_controls/put_bucket_ownership_controls_rest.sh source ./tests/drivers/user.sh source ./tests/test_user_common.sh