dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(from parent 1:
7d66961
)
Merge "(bug 37458) permission errors running BaseDumpTest on Windows"
author
Hashar
<hashar@free.fr>
Wed, 20 Jun 2012 09:16:16 +0000
(09:16 +0000)
committer
Gerrit Code Review
<gerrit@wikimedia.org>
Wed, 20 Jun 2012 09:16:16 +0000
(09:16 +0000)
tests/phpunit/maintenance/backupPrefetchTest.php
patch
|
blob
|
history
diff --git
a/tests/phpunit/maintenance/backupPrefetchTest.php
b/tests/phpunit/maintenance/backupPrefetchTest.php
index
e92b289
..
6ec802c
100644
(file)
--- a/
tests/phpunit/maintenance/backupPrefetchTest.php
+++ b/
tests/phpunit/maintenance/backupPrefetchTest.php
@@
-17,11
+17,13
@@
class BaseDumpTest extends MediaWikiTestCase {
private $dump = null;
protected function tearDown() {
- parent::tearDown();
-
if ( $this->dump !== null ) {
$this->dump->close();
}
+
+ // Bug 37458, parent teardown need to be done after closing the
+ // dump or it might cause some permissions errors.
+ parent::tearDown();
}
/**