2023-08-13 10:48:19 +03:00
|
|
|
#!/bin/bash
|
2023-08-24 17:05:01 +03:00
|
|
|
set -Eeuo pipefail
|
2023-08-23 21:10:59 +03:00
|
|
|
|
2023-09-02 11:16:24 +03:00
|
|
|
set +eo pipefail
|
|
|
|
# if curl/libcurl on this system does not support --aws-sigv4
|
|
|
|
# simply ignore test
|
2023-08-23 21:10:59 +03:00
|
|
|
# FIXME: remove this workaround once all integration test targets have aws-sigv4 support in libcurl
|
2023-09-02 11:16:24 +03:00
|
|
|
if curl --aws-sigv4 2>&1 | grep -q 'option --aws-sigv4: is unknown'; then
|
|
|
|
exit 0
|
2023-08-23 21:10:59 +03:00
|
|
|
fi
|
|
|
|
|
2023-09-02 11:16:24 +03:00
|
|
|
set -Eeuo pipefail
|
|
|
|
hurl --user someAccessKeyId:someSecretKey tests_ok/aws_sigv4.hurl
|