guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

03/03: gnu: libsoup: Disable the hsts test.


From: guix-commits
Subject: 03/03: gnu: libsoup: Disable the hsts test.
Date: Fri, 26 Nov 2021 01:15:08 -0500 (EST)

apteryx pushed a commit to branch core-updates-frozen
in repository guix.

commit a41aea131a9ade2e714cfdeb8de36c94d799606c
Author: Maxim Cournoyer <maxim.cournoyer@gmail.com>
AuthorDate: Fri Nov 26 00:49:57 2021 -0500

    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.
---
 gnu/packages/gnome.scm | 14 +++++++-------
 1 file changed, 7 insertions(+), 7 deletions(-)

diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm
index 4529928..583b754 100644
--- a/gnu/packages/gnome.scm
+++ b/gnu/packages/gnome.scm
@@ -4939,12 +4939,12 @@ libxml to ease remote use of the RESTful API.")
                ((".*/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
@@ -4971,7 +4971,7 @@ libxml to ease remote use of the RESTful API.")
        ("zlib" ,zlib)))
     (inputs
      `(("mit-krb5" ,mit-krb5)
-       ("ntlm_auth" ,samba/fixed)))               ; For ntlm_auth support
+       ("ntlm_auth" ,samba/fixed)))     ; For ntlm_auth support
     (home-page "https://wiki.gnome.org/Projects/libsoup";)
     (synopsis "GLib-based HTTP Library")
     (description



reply via email to

[Prev in Thread] Current Thread [Next in Thread]