From f40529b4645b54338f15fd071e04b5e942448d7d Mon Sep 17 00:00:00 2001 From: Antoine Musso Date: Fri, 24 Feb 2012 20:30:55 +0000 Subject: [PATCH] avoid test suite file leaks --- tests/phpunit/includes/filerepo/FileBackendTest.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/phpunit/includes/filerepo/FileBackendTest.php b/tests/phpunit/includes/filerepo/FileBackendTest.php index 7b04a40752..356c6898d2 100644 --- a/tests/phpunit/includes/filerepo/FileBackendTest.php +++ b/tests/phpunit/includes/filerepo/FileBackendTest.php @@ -200,6 +200,7 @@ class FileBackendTest extends MediaWikiTestCase { $this->backend = $this->multiBackend; $this->tearDownFiles(); $this->doTestStore( $op ); + $this->filesToPrune[] = $op['src']; # avoid file leaking $this->tearDownFiles(); } @@ -662,6 +663,7 @@ class FileBackendTest extends MediaWikiTestCase { $this->backend = $this->multiBackend; $this->tearDownFiles(); $this->doTestConcatenate( $op, $srcs, $srcsContent, $alreadyExists, $okStatus ); + $this->filesToPrune[] = $op['dst']; # avoid file leaking $this->tearDownFiles(); } -- 2.20.1