[BUGFIX] Prevent temp file generation in Unit Test 27/48027/2
authorNicole Cordes <typo3@cordes.co>
Fri, 6 May 2016 17:10:55 +0000 (19:10 +0200)
committerNicole Cordes <typo3@cordes.co>
Sat, 7 May 2016 08:58:47 +0000 (10:58 +0200)
commitd7b75d7330c9eda620eb987a454d9a178d0add6f
tree8b674f157a79a98b0b62275a8198518b8cdfb0ca
parent61b87af53bc5100235b5b2039e60e1754f4e654c
[BUGFIX] Prevent temp file generation in Unit Test

Running Unit Tests creates file /tmp/typo3.log. On Windows systems
this file is stored on the root of the drive. This patch uses the
defined temp folder for storing the file.

Resolves: #76070
Releases: master, 7.6, 6.2
Change-Id: Id77684e41020feb1a1ecff5051a80d2919250bf8
Reviewed-on: https://review.typo3.org/48027
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
Reviewed-by: Andreas Fernandez <typo3@scripting-base.de>
Tested-by: Andreas Fernandez <typo3@scripting-base.de>
Reviewed-by: Susanne Moog <typo3@susannemoog.de>
Tested-by: Susanne Moog <typo3@susannemoog.de>
typo3/sysext/core/Tests/Unit/Log/Writer/FileWriterTest.php