summaryrefslogtreecommitdiffstats
path: root/tests/auto/qfile/tst_qfile.cpp
diff options
context:
space:
mode:
authorKeith Isdale <keith.isdale@nokia.com>2009-08-10 07:36:49 (GMT)
committerKeith Isdale <keith.isdale@nokia.com>2009-08-10 07:36:49 (GMT)
commit4942e2834c1da00bfceec6430ce351888efc1976 (patch)
tree944be213e12faa16fb260f5dec4f97d5fcc7c5fc /tests/auto/qfile/tst_qfile.cpp
parent6cc14b9bd84de30471db40f73b119ba33356a6ba (diff)
parent5d01d0cde28f2ac1ff9b5d8ca731edcf38725051 (diff)
downloadQt-4942e2834c1da00bfceec6430ce351888efc1976.zip
Qt-4942e2834c1da00bfceec6430ce351888efc1976.tar.gz
Qt-4942e2834c1da00bfceec6430ce351888efc1976.tar.bz2
Merge branch 'master' of git@scm.dev.nokia.troll.no:qt/qt
Diffstat (limited to 'tests/auto/qfile/tst_qfile.cpp')
-rw-r--r--tests/auto/qfile/tst_qfile.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/auto/qfile/tst_qfile.cpp b/tests/auto/qfile/tst_qfile.cpp
index 66f29dd..249b702 100644
--- a/tests/auto/qfile/tst_qfile.cpp
+++ b/tests/auto/qfile/tst_qfile.cpp
@@ -915,6 +915,7 @@ void tst_QFile::copyAfterFail()
QVERIFY(file1.open(QIODevice::ReadWrite) && "(test-precondition)");
QVERIFY(file2.open(QIODevice::ReadWrite) && "(test-precondition)");
+ file2.close();
QVERIFY(!QFile::exists("copied-file-1.txt") && "(test-precondition)");
QVERIFY(!QFile::exists("copied-file-2.txt") && "(test-precondition)");