[BUGFIX] Fix .zip-export on windows and add unit test 18/19118/3
authorJost Baron <jost.baron@gmx.de>
Fri, 15 Mar 2013 20:06:21 +0000 (21:06 +0100)
committerChristian Kuhn <lolli@schwarzbu.ch>
Wed, 20 Mar 2013 20:34:17 +0000 (21:34 +0100)
commit3418d4deb810dc1917ad45b0f9b003a8e092ae58
treee554ed47740e9968d2b31bfa40dba8fcc54acbf5
parent7218ab01bb9a9e8a7ab4eeb0fae212295802b4fd
[BUGFIX] Fix .zip-export on windows and add unit test

On Windows servers (xampp), the .zip-export of extensions did not
work because \ZipArchive::addFile can't add directories on Windows.

Added a unit test for the export function.

Fixes: #45140
Releases: 6.0, 6.1
Change-Id: If248bf031d3d7b621971de609b86eedc0ee05a64
Reviewed-on: https://review.typo3.org/19118
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
typo3/sysext/extensionmanager/Classes/Utility/FileHandlingUtility.php
typo3/sysext/extensionmanager/Tests/Unit/Utility/FileHandlingUtilityTest.php