diff --git a/integration/ssl/error_self_signed_certificate.linux-fedora.err b/integration/ssl/error_self_signed_certificate.linux-fedora.err new file mode 100644 index 000000000..a337ee6e0 --- /dev/null +++ b/integration/ssl/error_self_signed_certificate.linux-fedora.err @@ -0,0 +1,7 @@ +error: Http Connection + --> ssl/error_self_signed_certificate.hurl:1:5 + | + 1 | GET https://localhost:8001/hello + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ (60) SSL certificate problem: self-signed certificate + | + diff --git a/integration/test_hurl.py b/integration/test_hurl.py index 2077f62de..ee20623a7 100755 --- a/integration/test_hurl.py +++ b/integration/test_hurl.py @@ -20,9 +20,12 @@ def decode_string(encoded): return encoded.decode() -# return linux, osx or windows +# return linux-fedora, linux, osx or windows +# can add more specific linux variant if needed def get_os(): if platform.system() == "Linux": + if os.path.exists("/etc/fedora-release"): + return "linux-fedora" return "linux" elif platform.system() == "Darwin": return "osx"