From e474b02301c146cd36601b0a77251d76e9f90614 Mon Sep 17 00:00:00 2001 From: Viktor Szakats Date: Mon, 30 Sep 2024 01:51:12 +0200 Subject: [PATCH] runtests: fix indentation --- tests/runtests.pl | 104 +++++++++++++++++++++++----------------------- 1 file changed, 52 insertions(+), 52 deletions(-) diff --git a/tests/runtests.pl b/tests/runtests.pl index 197e145896..228a5cc4e6 100755 --- a/tests/runtests.pl +++ b/tests/runtests.pl @@ -543,58 +543,58 @@ sub checksystemfeatures { # set if built with MinGW (as opposed to MinGW-w64) $feature{"MinGW"} = 1 if ($curl =~ /-pc-mingw32/); } - if ($libcurl =~ /\s(winssl|schannel)\b/i) { - $feature{"Schannel"} = 1; - $feature{"SSLpinning"} = 1; - } - elsif ($libcurl =~ /\sopenssl\b/i) { - $feature{"OpenSSL"} = 1; - $feature{"SSLpinning"} = 1; - } - elsif ($libcurl =~ /\sgnutls\b/i) { - $feature{"GnuTLS"} = 1; - $feature{"SSLpinning"} = 1; - } - elsif ($libcurl =~ /\srustls-ffi\b/i) { - $feature{"rustls"} = 1; - } - elsif ($libcurl =~ /\swolfssl\b/i) { - $feature{"wolfssl"} = 1; - $feature{"SSLpinning"} = 1; - } - elsif ($libcurl =~ /\sbearssl\b/i) { - $feature{"bearssl"} = 1; - } - elsif ($libcurl =~ /\ssecuretransport\b/i) { - $feature{"sectransp"} = 1; - $feature{"SSLpinning"} = 1; - } - elsif ($libcurl =~ /\sBoringSSL\b/i) { - # OpenSSL compatible API - $feature{"OpenSSL"} = 1; - $feature{"SSLpinning"} = 1; - } - elsif ($libcurl =~ /\slibressl\b/i) { - # OpenSSL compatible API - $feature{"OpenSSL"} = 1; - $feature{"SSLpinning"} = 1; - } - elsif ($libcurl =~ /\squictls\b/i) { - # OpenSSL compatible API - $feature{"OpenSSL"} = 1; - $feature{"SSLpinning"} = 1; - } - elsif ($libcurl =~ /\smbedTLS\b/i) { - $feature{"mbedtls"} = 1; - $feature{"SSLpinning"} = 1; - } - if ($libcurl =~ /ares/i) { - $feature{"c-ares"} = 1; - $resolver="c-ares"; - } - if ($libcurl =~ /Hyper/i) { - $feature{"hyper"} = 1; - } + if ($libcurl =~ /\s(winssl|schannel)\b/i) { + $feature{"Schannel"} = 1; + $feature{"SSLpinning"} = 1; + } + elsif ($libcurl =~ /\sopenssl\b/i) { + $feature{"OpenSSL"} = 1; + $feature{"SSLpinning"} = 1; + } + elsif ($libcurl =~ /\sgnutls\b/i) { + $feature{"GnuTLS"} = 1; + $feature{"SSLpinning"} = 1; + } + elsif ($libcurl =~ /\srustls-ffi\b/i) { + $feature{"rustls"} = 1; + } + elsif ($libcurl =~ /\swolfssl\b/i) { + $feature{"wolfssl"} = 1; + $feature{"SSLpinning"} = 1; + } + elsif ($libcurl =~ /\sbearssl\b/i) { + $feature{"bearssl"} = 1; + } + elsif ($libcurl =~ /\ssecuretransport\b/i) { + $feature{"sectransp"} = 1; + $feature{"SSLpinning"} = 1; + } + elsif ($libcurl =~ /\sBoringSSL\b/i) { + # OpenSSL compatible API + $feature{"OpenSSL"} = 1; + $feature{"SSLpinning"} = 1; + } + elsif ($libcurl =~ /\slibressl\b/i) { + # OpenSSL compatible API + $feature{"OpenSSL"} = 1; + $feature{"SSLpinning"} = 1; + } + elsif ($libcurl =~ /\squictls\b/i) { + # OpenSSL compatible API + $feature{"OpenSSL"} = 1; + $feature{"SSLpinning"} = 1; + } + elsif ($libcurl =~ /\smbedTLS\b/i) { + $feature{"mbedtls"} = 1; + $feature{"SSLpinning"} = 1; + } + if ($libcurl =~ /ares/i) { + $feature{"c-ares"} = 1; + $resolver="c-ares"; + } + if ($libcurl =~ /Hyper/i) { + $feature{"hyper"} = 1; + } if ($libcurl =~ /nghttp2/i) { # nghttp2 supports h2c, hyper does not $feature{"h2c"} = 1; -- 2.47.2