mirror of
https://github.com/s3fs-fuse/s3fs-fuse.git
synced 2025-01-03 13:07:24 +00:00
Check bucket before trying to create it (#1874)
This makes it easier to run tests against S3 other than S3Proxy.
This commit is contained in:
parent
662882d2f0
commit
74c11ef226
@ -62,7 +62,9 @@ fi
|
|||||||
|
|
||||||
start_s3proxy
|
start_s3proxy
|
||||||
|
|
||||||
aws_cli s3 mb "s3://${TEST_BUCKET_1}" --region "${S3_ENDPOINT}"
|
if ! aws_cli s3api head-bucket --bucket "${TEST_BUCKET_1}" --region "${S3_ENDPOINT}"; then
|
||||||
|
aws_cli s3 mb "s3://${TEST_BUCKET_1}" --region "${S3_ENDPOINT}"
|
||||||
|
fi
|
||||||
|
|
||||||
for flag in "${FLAGS[@]}"; do
|
for flag in "${FLAGS[@]}"; do
|
||||||
echo "testing s3fs flag: ${flag}"
|
echo "testing s3fs flag: ${flag}"
|
||||||
|
Loading…
Reference in New Issue
Block a user