gnu: libssh: Skip a test on the Hurd.

* gnu/packages/ssh.scm (libssh)[#:phases]: When building on Hurd skip
torture_config_match_localnetwork test.

Change-Id: I01c47f3903190aa4126b5278ef45a13bea7ae786
This commit is contained in:
Yelninei 2025-07-29 13:20:15 +00:00 committed by Andreas Enge
parent 3c42d9de37
commit d77ce7be2d
No known key found for this signature in database
GPG key ID: F7D5C9BF765C61E3

View file

@ -166,7 +166,16 @@ file names.
;; Test sources.
(substitute* '("tests/server/test_server/default_cb.c")
(("\"/bin/sh\"")
(format #f "~s" (which "sh")))))))))
(format #f "~s" (which "sh"))))))
#$@(if (system-hurd?)
#~((add-after 'unpack 'skip-tests-hurd
;; these subtests require an ipv6 address
;; torture_config_match_localnetwork_string
;; torture_config_match_localnetwork_file
(lambda _
(substitute* "tests/unittests/CMakeLists.txt"
(("torture_config_match_localnetwork") "")))))
#~()))))
(native-inputs (list cmocka))
(inputs (list bash-minimal mit-krb5 openssl zlib))
(synopsis "SSH client library")