]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
CI: fix OpenBSD tests stall
authorStefan Eissing <stefan@eissing.org>
Wed, 4 Jun 2025 12:32:12 +0000 (14:32 +0200)
committerDaniel Stenberg <daniel@haxx.se>
Thu, 5 Jun 2025 07:12:22 +0000 (09:12 +0200)
impacket could not be used as it neeeds package six

- openbsd does not find python3, add package six
- http2-server.pl: only warn about unknown parameter if not empty string

Closes #17532

.github/workflows/non-native.yml
tests/http2-server.pl

index 6d36b43741a24c956bde52dfe61411c98e32707a..74adcbfebd2c9c859de4514aed9e1fa9b795c756 100644 (file)
@@ -99,7 +99,7 @@ jobs:
           run: |
             # https://openbsd.app/
             # https://www.openbsd.org/faq/faq15.html
-            time sudo pkg_add cmake ninja brotli openldap-client-- libssh2 libidn2 libpsl nghttp2 python3 py3-impacket
+            time sudo pkg_add cmake ninja brotli openldap-client-- libssh2 libidn2 libpsl nghttp2 py3-six py3-impacket
             time cmake -B bld -G Ninja \
               -DCMAKE_UNITY_BUILD=ON -DCURL_TEST_BUNDLES=ON \
               -DCURL_WERROR=ON \
index f1d9dbf3107ebb246304753daa623a60e7828031..87620003336ebb2a3a3ad2328fd7f9b1db60909f 100755 (executable)
@@ -97,7 +97,7 @@ while(@ARGV) {
             shift @ARGV;
         }
     }
-    else {
+    elsif($ARGV[0]) {
         print STDERR "\nWarning: http2-server.pl unknown parameter: $ARGV[0]\n";
     }
     shift @ARGV;