summaryrefslogtreecommitdiffstats
path: root/tests/auto/qdir
diff options
context:
space:
mode:
authorMiikka Heikkinen <miikka.heikkinen@digia.com>2009-08-10 06:47:54 (GMT)
committerMiikka Heikkinen <miikka.heikkinen@digia.com>2009-08-10 06:47:54 (GMT)
commit6631bb3c53ff89aefba9ac7fd742afa17f51c9c1 (patch)
treee3fbbe6a2c1eee8341c9b34e05416c320d904e87 /tests/auto/qdir
parentcc0a411e5e874aa224c26298a109973cb15ea291 (diff)
downloadQt-6631bb3c53ff89aefba9ac7fd742afa17f51c9c1.zip
Qt-6631bb3c53ff89aefba9ac7fd742afa17f51c9c1.tar.gz
Qt-6631bb3c53ff89aefba9ac7fd742afa17f51c9c1.tar.bz2
Fixed compilation error in qdir autotest for Symbian.
Diffstat (limited to 'tests/auto/qdir')
-rw-r--r--tests/auto/qdir/tst_qdir.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/auto/qdir/tst_qdir.cpp b/tests/auto/qdir/tst_qdir.cpp
index 549e9d1..16f6eea 100644
--- a/tests/auto/qdir/tst_qdir.cpp
+++ b/tests/auto/qdir/tst_qdir.cpp
@@ -638,7 +638,7 @@ void tst_QDir::entryList()
return;
}
bool doContentCheck = true;
-#ifdef Q_OS_UNIX
+#if defined(Q_OS_UNIX) && !defined(Q_OS_SYMBIAN)
if (qstrcmp(QTest::currentDataTag(), "QDir::AllEntries | QDir::Writable") == 0) {
// for root, everything is writeable
if (::getuid() == 0)