summaryrefslogtreecommitdiff
path: root/tests/auto/blackbox
diff options
context:
space:
mode:
authorJake Petroules <jake.petroules@petroules.com>2013-11-05 10:50:46 -0500
committerJoerg Bornemann <joerg.bornemann@digia.com>2013-11-06 12:37:18 +0100
commitc8efdf6c33b7b32664b9a3837689a7be43957a5b (patch)
treed63ab04ccd2b48e0081659f3855380c1dbd1beb1 /tests/auto/blackbox
parent3fe1d168065116908cf23aab80229bd6aeb89889 (diff)
downloadqbs-c8efdf6c33b7b32664b9a3837689a7be43957a5b.tar.gz
Add many missing calls to Process.close() and one to TextFile.close().
Change-Id: Idc4b1d8f73fe1d5fbff6c486cded825d640c5240 Reviewed-by: Christian Kandeler <christian.kandeler@digia.com>
Diffstat (limited to 'tests/auto/blackbox')
-rw-r--r--tests/auto/blackbox/testdata/fileTagger/moc_cpp.qbs1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/auto/blackbox/testdata/fileTagger/moc_cpp.qbs b/tests/auto/blackbox/testdata/fileTagger/moc_cpp.qbs
index 681a93f28..b56412bed 100644
--- a/tests/auto/blackbox/testdata/fileTagger/moc_cpp.qbs
+++ b/tests/auto/blackbox/testdata/fileTagger/moc_cpp.qbs
@@ -28,6 +28,7 @@ Project {
cmd.sourceCode = function () {
var file = new TextFile(input.fileName, TextFile.ReadOnly);
var text = file.readAll();
+ file.close();
file = new TextFile(output.fileName, TextFile.WriteOnly);
file.truncate();
file.write(text);