mirror of
https://github.com/Orange-OpenSource/hurl.git
synced 2024-12-18 08:02:12 +03:00
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:
parent
f0c1982ced
commit
9f6fdf2c9b
@ -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
|
@ -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
|
@ -1,3 +0,0 @@
|
||||
Set-StrictMode -Version latest
|
||||
$ErrorActionPreference = 'Stop'
|
||||
hurl --user someAccessKeyId:someSecretKey tests_ok/aws_sigv4.hurl --verbose
|
3
integration/tests_ok/aws_sigv4_option.ps1
Normal file
3
integration/tests_ok/aws_sigv4_option.ps1
Normal file
@ -0,0 +1,3 @@
|
||||
Set-StrictMode -Version latest
|
||||
$ErrorActionPreference = 'Stop'
|
||||
hurl --user someAccessKeyId:someSecretKey tests_ok/aws_sigv4_option.hurl --verbose
|
@ -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
|
Loading…
Reference in New Issue
Block a user