summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authoraxis <qt-info@nokia.com>2009-07-06 13:53:06 (GMT)
committeraxis <qt-info@nokia.com>2009-07-06 13:57:35 (GMT)
commitdfa0a27d4ba30bfce9fda8214185a973864b09d6 (patch)
treebb299175db53d20d3dbd085798d34d19b0b72469 /tests
parent17ddd5a99179422e4ddbbd77c72a6598b8e8efff (diff)
downloadQt-dfa0a27d4ba30bfce9fda8214185a973864b09d6.zip
Qt-dfa0a27d4ba30bfce9fda8214185a973864b09d6.tar.gz
Qt-dfa0a27d4ba30bfce9fda8214185a973864b09d6.tar.bz2
Fixed QFile autotest for Symbian.
This was originally fixed in 20c635c82d388, but was lost in the merge e74c8dc65e2fe.
Diffstat (limited to 'tests')
-rw-r--r--tests/auto/qfile/tst_qfile.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/auto/qfile/tst_qfile.cpp b/tests/auto/qfile/tst_qfile.cpp
index 0f52811..43cbd5c 100644
--- a/tests/auto/qfile/tst_qfile.cpp
+++ b/tests/auto/qfile/tst_qfile.cpp
@@ -1105,8 +1105,10 @@ void tst_QFile::readBrokenLink()
QCOMPARE(info2.symLinkTarget(), info1.absoluteFilePath());
QVERIFY(QFile::remove(info2.absoluteFilePath()));
+#if !defined(Q_OS_SYMBIAN)
QVERIFY(QFile::link("ole/..", "myLink2.lnk"));
QCOMPARE(QFileInfo("myLink2.lnk").symLinkTarget(), QDir::currentPath());
+#endif
}
void tst_QFile::readTextFile_data()