diff options
author | Peter Hartmann <peter.hartmann@trolltech.com> | 2009-09-14 14:36:39 (GMT) |
---|---|---|
committer | Peter Hartmann <peter.hartmann@trolltech.com> | 2009-09-14 14:37:38 (GMT) |
commit | ef0f72e2ed861982fdcbf620c88f188b009b0cf1 (patch) | |
tree | 91fdd2005151dc7fe18ebe7d87bb652b548ba380 /tests/auto/qsslcertificate | |
parent | 488d28d1160cbd26d8728492c72217a39d87eb56 (diff) | |
download | Qt-ef0f72e2ed861982fdcbf620c88f188b009b0cf1.zip Qt-ef0f72e2ed861982fdcbf620c88f188b009b0cf1.tar.gz Qt-ef0f72e2ed861982fdcbf620c88f188b009b0cf1.tar.bz2 |
QSslCertificate autotest: allow test from shadow directory
Reviewed-by: TrustMe
Diffstat (limited to 'tests/auto/qsslcertificate')
-rw-r--r-- | tests/auto/qsslcertificate/tst_qsslcertificate.cpp | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/tests/auto/qsslcertificate/tst_qsslcertificate.cpp b/tests/auto/qsslcertificate/tst_qsslcertificate.cpp index 9cd9f39..62c64a1 100644 --- a/tests/auto/qsslcertificate/tst_qsslcertificate.cpp +++ b/tests/auto/qsslcertificate/tst_qsslcertificate.cpp @@ -115,12 +115,7 @@ private slots: tst_QSslCertificate::tst_QSslCertificate() { -#ifdef Q_WS_MAC - // applicationDirPath() points to a path inside the app bundle on Mac. - QDir dir(qApp->applicationDirPath() + QLatin1String("/../../../certificates")); -#else QDir dir(SRCDIR + QLatin1String("/certificates")); -#endif QFileInfoList fileInfoList = dir.entryInfoList(QDir::Files | QDir::Readable); QRegExp rxCert(QLatin1String("^.+\\.(pem|der)$")); QRegExp rxSan(QLatin1String("^(.+\\.(?:pem|der))\\.san$")); |