diff options
Diffstat (limited to 'tests')
-rw-r--r-- | tests/auto/qfileinfo/tst_qfileinfo.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/auto/qfileinfo/tst_qfileinfo.cpp b/tests/auto/qfileinfo/tst_qfileinfo.cpp index b40a7dd..d94c7e4 100644 --- a/tests/auto/qfileinfo/tst_qfileinfo.cpp +++ b/tests/auto/qfileinfo/tst_qfileinfo.cpp @@ -488,6 +488,9 @@ void tst_QFileInfo::canonicalFilePath() if (file.link(link)) { QFileInfo info1("tst_qfileinfo.cpp"); QFileInfo info2(link + QDir::separator() + "tst_qfileinfo.cpp"); + + QVERIFY2(info1.exists(), "If this fails, one reason might be the test system has failed to copy the files."); + QVERIFY2(info2.exists(), "If this fails, one reason might be the test system has failed to copy the files."); QCOMPARE(info1.canonicalFilePath(), info2.canonicalFilePath()); QFileInfo info3(link + QDir::separator() + "link.lnk"); |