Rename aws_sigv4 integration test to aws_sigv4_option.

By convention, the integration test are named `foo` when a command line option is used, and `foo_option when an `[Options]` is prefered.
This commit is contained in:
jcamiel 2023-09-29 13:39:15 +02:00
parent f0c1982ced
commit 9f6fdf2c9b
No known key found for this signature in database
GPG Key ID: 07FF11CFD55356CC
10 changed files with 7 additions and 7 deletions

View File

@ -1,5 +1,5 @@
error: HTTP connection
--> tests_ok/aws_sigv4.hurl:1:6
--> tests_ok/aws_sigv4_option.hurl:1:6
|
1 | POST http://localhost:8000/aws-sigv4
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Option aws-sigv4 requires libcurl version 7.75.0 or higher

View File

@ -7,9 +7,9 @@ set +eo pipefail
# 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
cat tests_failed/aws_sigv4_option.err >&2
exit 3
fi
set -Eeuo pipefail
hurl --user someAccessKeyId:someSecretKey tests_ok/aws_sigv4.hurl
hurl --user someAccessKeyId:someSecretKey tests_ok/aws_sigv4_option.hurl

View File

@ -1,3 +0,0 @@
Set-StrictMode -Version latest
$ErrorActionPreference = 'Stop'
hurl --user someAccessKeyId:someSecretKey tests_ok/aws_sigv4.hurl --verbose

View File

@ -0,0 +1,3 @@
Set-StrictMode -Version latest
$ErrorActionPreference = 'Stop'
hurl --user someAccessKeyId:someSecretKey tests_ok/aws_sigv4_option.hurl --verbose

View File

@ -10,4 +10,4 @@ if curl --aws-sigv4 2>&1 | grep -q 'option --aws-sigv4: is unknown'; then
fi
set -Eeuo pipefail
hurl --user someAccessKeyId:someSecretKey tests_ok/aws_sigv4.hurl
hurl --user someAccessKeyId:someSecretKey tests_ok/aws_sigv4_option.hurl