@@ -4927,20 +4927,14 @@ libxml to ease remote use of the RESTful API.")
#t)))
(add-after 'unpack 'adjust-tests
(lambda _
- ;; This test fails due to missing /etc/nsswitch.conf
- ;; in the build environment.
- (substitute* "tests/socket-test.c"
- ((".*/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.*") ""))
- (substitute* "tests/hsts-db-test.c"
- ((".*/hsts-db/subdomains.*") ""))
+ (substitute* "tests/meson.build"
+ ;; These fail because "subdomain.localhost" does not resolve in
+ ;; the build environment.
+ (("[ \t]*\\['hsts', true, \\[\\]\\],") "")
+ (("[ \t]*\\['hsts-db', true, \\[\\]\\],") "")
+ ;; This test fails due to missing /etc/nsswitch.conf
+ ;; in the build environment.
+ (("[ \t]*\\['socket', true, \\[\\]\\],") ""))
;; Generate a self-signed certificate that has "localhost" as its
;; 'dnsName'. Failing to do that, and starting with GnuTLS