summaryrefslogtreecommitdiffstats
path: root/tests/auto/qfileinfo
diff options
context:
space:
mode:
authorShane Kearns <shane.kearns@sosco.com>2009-08-12 12:14:14 (GMT)
committerShane Kearns <shane.kearns@sosco.com>2009-08-12 12:14:14 (GMT)
commite4bb34d51cc9f4f78abc17a0e715876b11d53ace (patch)
tree6e4a61fb0745283424abc6b4b060fd74b40bdef9 /tests/auto/qfileinfo
parentebb0b4046cab4ea94795e8fb2ceb3242393e1040 (diff)
downloadQt-e4bb34d51cc9f4f78abc17a0e715876b11d53ace.zip
Qt-e4bb34d51cc9f4f78abc17a0e715876b11d53ace.tar.gz
Qt-e4bb34d51cc9f4f78abc17a0e715876b11d53ace.tar.bz2
only skip the QFileInfo permissions test when building for symbian OS
Diffstat (limited to 'tests/auto/qfileinfo')
-rw-r--r--tests/auto/qfileinfo/tst_qfileinfo.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/auto/qfileinfo/tst_qfileinfo.cpp b/tests/auto/qfileinfo/tst_qfileinfo.cpp
index 4a091e3..9ef2c74 100644
--- a/tests/auto/qfileinfo/tst_qfileinfo.cpp
+++ b/tests/auto/qfileinfo/tst_qfileinfo.cpp
@@ -725,7 +725,9 @@ void tst_QFileInfo::permission()
QFETCH(QString, file);
QFETCH(int, perms);
QFETCH(bool, expected);
- QEXPECT_FAIL("data0", "No user based rights in Symbian OS - SOS needs platform security tests instead", Abort);
+#ifdef Q_OS_SYMBIAN
+ QSKIP("No user based rights in Symbian OS - SOS needs platform security tests instead", SkipAll);
+#endif
QFileInfo fi(file);
QCOMPARE(fi.permission(QFile::Permissions(perms)), expected);
}