diff options
Diffstat (limited to 'tests/auto/qfileinfo')
-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 7f27a60..c5937cd 100644 --- a/tests/auto/qfileinfo/tst_qfileinfo.cpp +++ b/tests/auto/qfileinfo/tst_qfileinfo.cpp @@ -432,6 +432,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"); |