summaryrefslogtreecommitdiffstats
path: root/tests/auto
diff options
context:
space:
mode:
authorPrasanth Ullattil <prasanth.ullattil@nokia.com>2010-11-26 15:32:32 (GMT)
committerPrasanth Ullattil <prasanth.ullattil@nokia.com>2010-11-26 15:32:32 (GMT)
commitb0fb70cd74ef1453a36169088e6f283206818d78 (patch)
tree4198a0a3fd4da7fe90af7b714637c03469080a1b /tests/auto
parentc7f1fdbe9d1c7387b3a72624b428a1d0f19d5b84 (diff)
downloadQt-b0fb70cd74ef1453a36169088e6f283206818d78.zip
Qt-b0fb70cd74ef1453a36169088e6f283206818d78.tar.gz
Qt-b0fb70cd74ef1453a36169088e6f283206818d78.tar.bz2
Fix link() autotest on Windows
This was missed from the previous commit. Reviewed-by: Joao
Diffstat (limited to 'tests/auto')
-rw-r--r--tests/auto/qfile/tst_qfile.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/auto/qfile/tst_qfile.cpp b/tests/auto/qfile/tst_qfile.cpp
index ba9a8bf..1bbf230 100644
--- a/tests/auto/qfile/tst_qfile.cpp
+++ b/tests/auto/qfile/tst_qfile.cpp
@@ -1315,7 +1315,7 @@ void tst_QFile::link()
#if defined(Q_OS_WIN) && !defined(Q_OS_WINCE)
QString wd = getWorkingDirectoryForLink(info2.absoluteFilePath());
- QCOMPARE(QDir::fromNativeSeparators(wd), referenceTarget);
+ QCOMPARE(QDir::fromNativeSeparators(wd), QDir::cleanPath(info1.absolutePath()));
#endif
QVERIFY(QFile::remove(info2.absoluteFilePath()));