[BUGFIX] Use filename with extension for copy to temp test 89/57489/3
authorJigal van Hemert <jigal.van.hemert@typo3.org>
Fri, 6 Jul 2018 17:25:10 +0000 (19:25 +0200)
committerWouter Wolters <typo3@wouterwolters.nl>
Tue, 31 Jul 2018 18:06:01 +0000 (20:06 +0200)
commit83b6343f7237419c9ef02f9c23f8b99febe70956
tree7d82722f5b3bb2b4866fc01f127ee5e4a4fc926e
parentba07dd2a6609332c37e1cc8ef51fdffba837d838
[BUGFIX] Use filename with extension for copy to temp test

Since the extension will be added to the temporary file name there
will be an error in Windows if the file name has no extension.
Windows will not create files with a name ending with a dot.

Resolves: #85502
Releases: master, 8.7
Change-Id: I45beb47525681fff314c17f943d77cec55df35c0
Reviewed-on: https://review.typo3.org/57489
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Jörg Bösche <typo3@joergboesche.de>
Reviewed-by: Tymoteusz Motylewski <t.motylewski@gmail.com>
Tested-by: Tymoteusz Motylewski <t.motylewski@gmail.com>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
typo3/sysext/core/Tests/Unit/Resource/Driver/LocalDriverTest.php