From 9f6fdf2c9b364ee17d49b6f7d12b7a6d81a0e939 Mon Sep 17 00:00:00 2001 From: jcamiel Date: Fri, 29 Sep 2023 13:39:15 +0200 Subject: [PATCH] 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. --- .../tests_failed/{aws_sigv4.err => aws_sigv4_option.err} | 2 +- .../tests_failed/{aws_sigv4.exit => aws_sigv4_option.exit} | 0 .../tests_failed/{aws_sigv4.sh => aws_sigv4_option.sh} | 4 ++-- integration/tests_ok/aws_sigv4.ps1 | 3 --- .../tests_ok/{aws_sigv4.curl => aws_sigv4_option.curl} | 0 .../tests_ok/{aws_sigv4.html => aws_sigv4_option.html} | 0 .../tests_ok/{aws_sigv4.hurl => aws_sigv4_option.hurl} | 0 .../tests_ok/{aws_sigv4.json => aws_sigv4_option.json} | 0 integration/tests_ok/aws_sigv4_option.ps1 | 3 +++ integration/tests_ok/{aws_sigv4.sh => aws_sigv4_option.sh} | 2 +- 10 files changed, 7 insertions(+), 7 deletions(-) rename integration/tests_failed/{aws_sigv4.err => aws_sigv4_option.err} (81%) rename integration/tests_failed/{aws_sigv4.exit => aws_sigv4_option.exit} (100%) rename integration/tests_failed/{aws_sigv4.sh => aws_sigv4_option.sh} (76%) delete mode 100644 integration/tests_ok/aws_sigv4.ps1 rename integration/tests_ok/{aws_sigv4.curl => aws_sigv4_option.curl} (100%) rename integration/tests_ok/{aws_sigv4.html => aws_sigv4_option.html} (100%) rename integration/tests_ok/{aws_sigv4.hurl => aws_sigv4_option.hurl} (100%) rename integration/tests_ok/{aws_sigv4.json => aws_sigv4_option.json} (100%) create mode 100644 integration/tests_ok/aws_sigv4_option.ps1 rename integration/tests_ok/{aws_sigv4.sh => aws_sigv4_option.sh} (82%) diff --git a/integration/tests_failed/aws_sigv4.err b/integration/tests_failed/aws_sigv4_option.err similarity index 81% rename from integration/tests_failed/aws_sigv4.err rename to integration/tests_failed/aws_sigv4_option.err index 49b0ae8b1..41c7569e1 100755 --- a/integration/tests_failed/aws_sigv4.err +++ b/integration/tests_failed/aws_sigv4_option.err @@ -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 diff --git a/integration/tests_failed/aws_sigv4.exit b/integration/tests_failed/aws_sigv4_option.exit similarity index 100% rename from integration/tests_failed/aws_sigv4.exit rename to integration/tests_failed/aws_sigv4_option.exit diff --git a/integration/tests_failed/aws_sigv4.sh b/integration/tests_failed/aws_sigv4_option.sh similarity index 76% rename from integration/tests_failed/aws_sigv4.sh rename to integration/tests_failed/aws_sigv4_option.sh index 5c0b27e28..3bc77ebf2 100755 --- a/integration/tests_failed/aws_sigv4.sh +++ b/integration/tests_failed/aws_sigv4_option.sh @@ -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 diff --git a/integration/tests_ok/aws_sigv4.ps1 b/integration/tests_ok/aws_sigv4.ps1 deleted file mode 100644 index bc0386c98..000000000 --- a/integration/tests_ok/aws_sigv4.ps1 +++ /dev/null @@ -1,3 +0,0 @@ -Set-StrictMode -Version latest -$ErrorActionPreference = 'Stop' -hurl --user someAccessKeyId:someSecretKey tests_ok/aws_sigv4.hurl --verbose diff --git a/integration/tests_ok/aws_sigv4.curl b/integration/tests_ok/aws_sigv4_option.curl similarity index 100% rename from integration/tests_ok/aws_sigv4.curl rename to integration/tests_ok/aws_sigv4_option.curl diff --git a/integration/tests_ok/aws_sigv4.html b/integration/tests_ok/aws_sigv4_option.html similarity index 100% rename from integration/tests_ok/aws_sigv4.html rename to integration/tests_ok/aws_sigv4_option.html diff --git a/integration/tests_ok/aws_sigv4.hurl b/integration/tests_ok/aws_sigv4_option.hurl similarity index 100% rename from integration/tests_ok/aws_sigv4.hurl rename to integration/tests_ok/aws_sigv4_option.hurl diff --git a/integration/tests_ok/aws_sigv4.json b/integration/tests_ok/aws_sigv4_option.json similarity index 100% rename from integration/tests_ok/aws_sigv4.json rename to integration/tests_ok/aws_sigv4_option.json diff --git a/integration/tests_ok/aws_sigv4_option.ps1 b/integration/tests_ok/aws_sigv4_option.ps1 new file mode 100644 index 000000000..7e80be24d --- /dev/null +++ b/integration/tests_ok/aws_sigv4_option.ps1 @@ -0,0 +1,3 @@ +Set-StrictMode -Version latest +$ErrorActionPreference = 'Stop' +hurl --user someAccessKeyId:someSecretKey tests_ok/aws_sigv4_option.hurl --verbose diff --git a/integration/tests_ok/aws_sigv4.sh b/integration/tests_ok/aws_sigv4_option.sh similarity index 82% rename from integration/tests_ok/aws_sigv4.sh rename to integration/tests_ok/aws_sigv4_option.sh index e2b788f44..6f6452f15 100755 --- a/integration/tests_ok/aws_sigv4.sh +++ b/integration/tests_ok/aws_sigv4_option.sh @@ -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