mirror of
https://github.com/Orange-OpenSource/hurl.git
synced 2024-12-18 16:11:34 +03:00
16 lines
501 B
Bash
Executable File
16 lines
501 B
Bash
Executable File
#!/bin/bash
|
|
set -Eeuo pipefail
|
|
|
|
|
|
set +eo pipefail
|
|
# Check error message when curl/libcurl on this system does not support --aws-sigv4
|
|
# simply ignore test if option is available on the system
|
|
# FIXME: remove this test once all integration test targets have aws-sigv4 support in libcurl
|
|
if curl --aws-sigv4 2>&1 | grep -qv 'option --aws-sigv4: is unknown'; then
|
|
cat tests_failed/aws_sigv4.err >&2
|
|
exit 3
|
|
fi
|
|
|
|
set -Eeuo pipefail
|
|
hurl --user someAccessKeyId:someSecretKey tests_ok/aws_sigv4.hurl
|