diff options
author | João Abecasis <joao.abecasis@nokia.com> | 2010-11-22 17:40:05 (GMT) |
---|---|---|
committer | João Abecasis <joao.abecasis@nokia.com> | 2010-11-22 17:42:23 (GMT) |
commit | 901fee7e610ec53f744416aeeca89c4605923120 (patch) | |
tree | 2736a1e520c32795c72ac39e40c3c60204554c92 | |
parent | ee1f78b08521955342b2ce0f1244c7406bfd3124 (diff) | |
download | Qt-901fee7e610ec53f744416aeeca89c4605923120.zip Qt-901fee7e610ec53f744416aeeca89c4605923120.tar.gz Qt-901fee7e610ec53f744416aeeca89c4605923120.tar.bz2 |
Fix QFile autotest for out-of-source builds
-rw-r--r-- | tests/auto/qfile/tst_qfile.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/auto/qfile/tst_qfile.cpp b/tests/auto/qfile/tst_qfile.cpp index f60ab1e..dbd4302 100644 --- a/tests/auto/qfile/tst_qfile.cpp +++ b/tests/auto/qfile/tst_qfile.cpp @@ -1296,8 +1296,8 @@ void tst_QFile::link() QSKIP("Symbian does not support links", SkipAll); #endif QFile::remove("myLink.lnk"); - QFileInfo info1("tst_qfile.cpp"); - QVERIFY(QFile::link("tst_qfile.cpp", "myLink.lnk")); + QFileInfo info1(SRCDIR "tst_qfile.cpp"); + QVERIFY(QFile::link(SRCDIR "tst_qfile.cpp", "myLink.lnk")); QFileInfo info2("myLink.lnk"); QVERIFY(info2.isSymLink()); QCOMPARE(info2.symLinkTarget(), info1.absoluteFilePath()); |