diff options
| author | Yelninei <yelninei@tutamail.com> | 2025-07-29 13:20:15 +0000 |
|---|---|---|
| committer | Andreas Enge <andreas@enge.fr> | 2025-07-30 14:18:42 +0200 |
| commit | d77ce7be2dcc6bc1248556e32c4973552ebca8f8 (patch) | |
| tree | d1c7ef41edd39addc2e7a94dd0dd7b6e487583d8 /gnu/packages/ssh.scm | |
| parent | 3c42d9de374c3f433da53ca7b0e7d6a91e1ac918 (diff) | |
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
Diffstat (limited to 'gnu/packages/ssh.scm')
| -rw-r--r-- | gnu/packages/ssh.scm | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/gnu/packages/ssh.scm b/gnu/packages/ssh.scm index c421d11b827..aeaa65a38a2 100644 --- a/gnu/packages/ssh.scm +++ b/gnu/packages/ssh.scm | |||
| @@ -166,7 +166,16 @@ file names. | |||
| 166 | ;; Test sources. | 166 | ;; Test sources. |
| 167 | (substitute* '("tests/server/test_server/default_cb.c") | 167 | (substitute* '("tests/server/test_server/default_cb.c") |
| 168 | (("\"/bin/sh\"") | 168 | (("\"/bin/sh\"") |
| 169 | (format #f "~s" (which "sh"))))))))) | 169 | (format #f "~s" (which "sh")))))) |
| 170 | #$@(if (system-hurd?) | ||
| 171 | #~((add-after 'unpack 'skip-tests-hurd | ||
| 172 | ;; these subtests require an ipv6 address | ||
| 173 | ;; torture_config_match_localnetwork_string | ||
| 174 | ;; torture_config_match_localnetwork_file | ||
| 175 | (lambda _ | ||
| 176 | (substitute* "tests/unittests/CMakeLists.txt" | ||
| 177 | (("torture_config_match_localnetwork") ""))))) | ||
| 178 | #~())))) | ||
| 170 | (native-inputs (list cmocka)) | 179 | (native-inputs (list cmocka)) |
| 171 | (inputs (list bash-minimal mit-krb5 openssl zlib)) | 180 | (inputs (list bash-minimal mit-krb5 openssl zlib)) |
| 172 | (synopsis "SSH client library") | 181 | (synopsis "SSH client library") |
