gnu: libsoup: Disable the hsts test.

The test was found to fail on i686-linux.

* gnu/packages/gnome.scm (libsoup-minimal)[phases]
{adjust-tests}: De-register the hsts test.
This commit is contained in:
Maxim Cournoyer 2021-11-26 00:49:57 -05:00
parent 3672f51582
commit a41aea131a
No known key found for this signature in database
GPG key ID: 1260E46482E63562

View file

@ -4939,12 +4939,12 @@ (define-public libsoup-minimal
((".*/sockets/unconnected.*") ""))
;; These fail because "subdomain.localhost" does not resolve in
;; the build environment.
(substitute* "tests/hsts-test.c"
((".*/hsts/basic.*") "")
((".*/hsts/subdomains.*") "")
((".*/hsts/superdomain.*") "")
((".*/hsts/utf8-address.*") ""))
;; the build environment. Moreover, the hsts-test suite fails on
;; i686-linux because of errors from `session_get_uri' like
;; "Unexpected status 200 OK (expected 301 Moved Permanently)"
;; (see: https://gitlab.gnome.org/GNOME/libsoup/-/issues/239).
(substitute* "tests/meson.build"
((".*'name': 'hsts'.*") ""))
(substitute* "tests/hsts-db-test.c"
((".*/hsts-db/subdomains.*") "")))))))
(native-inputs