Skip to content

Commit 0dd2621

Browse files
committed
clean up test log files, whitelist shm database file
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
1 parent 478b95c commit 0dd2621

2 files changed

Lines changed: 3 additions & 0 deletions

File tree

tests/lib/Log/FileTest.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,9 @@ protected function tearDown() {
5555
} else {
5656
$config->deleteValue("logdateformat");
5757
}
58+
$testLogPath = $this->logFile->getLogFilePath();
5859
$this->logFile = new File($this->restore_logfile, '', $config);
60+
unlink($testLogPath);
5961
parent::tearDown();
6062
}
6163

tests/lib/TestCase.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -301,6 +301,7 @@ static protected function tearDownAfterClassCleanStrayDataFiles($dataDir) {
301301
'nextcloud.log' => true,
302302
'audit.log' => true,
303303
'owncloud.db' => true,
304+
'owncloud.db-shm' => true,
304305
'.ocdata' => true,
305306
'..' => true,
306307
'.' => true,

0 commit comments

Comments
 (0)