Add script spawn minio server to test the URLs against it

This commit is contained in:
2025-12-01 14:36:22 +01:00
parent 8141b16051
commit abdbb2ab5b
5 changed files with 8 additions and 4 deletions
+1
View File
@@ -1,2 +1,3 @@
test
test.exe
minio
+1 -1
View File
@@ -1,4 +1,4 @@
ifeq ($(shell uname -a),Linux)
ifeq ($(shell uname -s),Linux)
LFLAGS = -lcrypto
else
LFLAGS = -lbcrypt
+2
View File
@@ -241,6 +241,8 @@ static int inplace_hmac(char *buf, int len1, int len2)
BCryptCloseAlgorithmProvider(alg, 0);
return 0;
#else
int olen = hmac_len(buf, len1, len2);
EVP_MAC *mac = EVP_MAC_fetch(NULL, "HMAC", NULL);
if (mac == NULL) {
return -1;
+3 -3
View File
@@ -10,11 +10,11 @@ int main(void)
S3_S("GET"),
3600,
S3_S(""),
S3_S("accesskey"),
S3_S("secretkey"),
S3_S("minioadmin"),
S3_S("minioadmin"),
S3_S("us-west-1"),
S3_S("s3"),
S3_S("aws.com"),
S3_S("172.17.0.2:9000"),
time(NULL),
dst, sizeof(dst));
if (len < 0) {
+1
View File
@@ -0,0 +1 @@
docker run -p 9000:9000 -e MINIO_ROOT_USER=minioadmin -e MINIO_ROOT_PASSWORD=minioadmin minio/minio server /data