From 1cd497a14ed1823a574f088ad11fcd9548095bed Mon Sep 17 00:00:00 2001 From: Rohan McGovern Date: Thu, 28 Jul 2011 08:41:50 +1000 Subject: Mark tst_qsslcertificate::verify with QEXPECT_FAIL Test started to fail, complains about outdated SSL certificate. Task-number: QTBUG-20582 Change-Id: I2622375d9bc7b446dbbc18f72403896c60a8dee1 Reviewed-on: http://codereview.qt.nokia.com/2307 Reviewed-by: Qt Sanity Bot Reviewed-by: Jonas Rabbe --- tests/auto/qsslcertificate/tst_qsslcertificate.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tests/auto/qsslcertificate/tst_qsslcertificate.cpp b/tests/auto/qsslcertificate/tst_qsslcertificate.cpp index 451465df0c..1b3d039ded 100644 --- a/tests/auto/qsslcertificate/tst_qsslcertificate.cpp +++ b/tests/auto/qsslcertificate/tst_qsslcertificate.cpp @@ -920,6 +920,7 @@ void tst_QSslCertificate::verify() toVerify = QSslCertificate::fromPath(SRCDIR "verify-certs/test-ocsp-good-cert.pem"); errors = QSslCertificate::verify(toVerify); + QEXPECT_FAIL("", "QTBUG-20582 fails since ~5am, 27th July 2011", Continue); QVERIFY(errors.count() == 0); errors.clear(); @@ -955,10 +956,12 @@ void tst_QSslCertificate::verify() toVerify << QSslCertificate::fromPath(SRCDIR "verify-certs/test-intermediate-is-ca-cert.pem").first(); toVerify << QSslCertificate::fromPath(SRCDIR "verify-certs/test-intermediate-ca-cert.pem").first(); errors = QSslCertificate::verify(toVerify); + QEXPECT_FAIL("", "QTBUG-20582 fails since ~5am, 27th July 2011", Continue); QVERIFY(errors.length() == 0); // Recheck the above with hostname validation errors = QSslCertificate::verify(toVerify, QLatin1String("example.com")); + QEXPECT_FAIL("", "QTBUG-20582 fails since ~5am, 27th July 2011", Continue); QVERIFY(errors.length() == 0); // Recheck the above with a bad hostname -- cgit v1.2.3