summaryrefslogtreecommitdiffstats
path: root/tests/auto/qsslcertificate
diff options
context:
space:
mode:
authorPeter Hartmann <peter.hartmann@trolltech.com>2009-09-14 14:36:39 (GMT)
committerPeter Hartmann <peter.hartmann@trolltech.com>2009-09-14 14:37:38 (GMT)
commitef0f72e2ed861982fdcbf620c88f188b009b0cf1 (patch)
tree91fdd2005151dc7fe18ebe7d87bb652b548ba380 /tests/auto/qsslcertificate
parent488d28d1160cbd26d8728492c72217a39d87eb56 (diff)
downloadQt-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.cpp5
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$"));