summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFlorian Bruhin <me@the-compiler.org>2022-07-15 15:59:24 +0200
committerFlorian Bruhin <me@the-compiler.org>2022-07-15 15:59:24 +0200
commit6d7bcd586de58e2b38f3824dc2f67c0ac76f5985 (patch)
treeeedf18d905563c938291f58d3122e10696547b95
parentaf88e179969887c751e6057e0b3b135db2c3aae4 (diff)
downloadqutebrowser-6d7bcd586de58e2b38f3824dc2f67c0ac76f5985.tar.gz
qutebrowser-6d7bcd586de58e2b38f3824dc2f67c0ac76f5985.zip
Qt 6.4: Ignore new Chromium cert errors in tests
See #7314
-rw-r--r--tests/end2end/fixtures/quteprocess.py11
1 files changed, 11 insertions, 0 deletions
diff --git a/tests/end2end/fixtures/quteprocess.py b/tests/end2end/fixtures/quteprocess.py
index 02deafb66..92504fbbc 100644
--- a/tests/end2end/fixtures/quteprocess.py
+++ b/tests/end2end/fixtures/quteprocess.py
@@ -57,6 +57,10 @@ def is_ignored_lowlevel_message(message):
# Qt 6.2 / 6.3
'Fontconfig error: Cannot load default config file: No such file: (null)',
'Fontconfig error: Cannot load default config file',
+
+ # Qt 6.4, from certifiacte error below, but on separate lines
+ '----- Certificate i=0 (*,CN=localhost,O=qutebrowser test certificate) -----',
+ 'ERROR: No matching issuer found',
]
return any(testutils.pattern_match(pattern=pattern, value=message)
for pattern in ignored_messages)
@@ -114,6 +118,13 @@ def is_ignored_chromium_message(line):
'GPU state invalid after WaitForGetOffsetInRange.',
# [5469:5503:0621/183219.878182:ERROR:backend_impl.cc(1414)] Unable to map Index file
'Unable to map Index file',
+
+ # Qt 6.4:
+ # [2456284:2456339:0715/110322.570154:ERROR:cert_verify_proc_builtin.cc(681)] CertVerifyProcBuiltin for localhost failed:
+ # ----- Certificate i=0 (1.2.840.113549.1.9.1=#6D61696C407175746562726F777365722E6F7267,CN=localhost,O=qutebrowser test certificate) -----
+ # ERROR: No matching issuer found
+ # (Note, subsequent lines above in is_ignored_lowlevel_message)
+ 'CertVerifyProcBuiltin for localhost failed:',
]
return any(testutils.pattern_match(pattern=pattern, value=message)
for pattern in ignored_messages)