[BUGFIX] Failling unit test in GeneralUtilityTest for Windows system 37/36437/2
authorNicole Cordes <typo3@cordes.co>
Fri, 30 Jan 2015 15:13:20 +0000 (16:13 +0100)
committerChristian Kuhn <lolli@schwarzbu.ch>
Fri, 30 Jan 2015 15:39:08 +0000 (16:39 +0100)
commita7962039e32a2e2d13124a77818f1c59590ff414
treeabaa31fa5c1de475425753e8590f112ec618ae7f
parent2c5f4e69f27675b8b990df559a3ff2c02df6652d
[BUGFIX] Failling unit test in GeneralUtilityTest for Windows system

In GeneralUtilityTest a test for the TYPO3_SITE_PATH parses the result
for a starting slash. This test fails on Windows system as the don't
provide slashes but drive letters. This patch skips the test on Windows
systems and provides a new test to check for absolute paths with drive
letters.

Releases: master, 6.2
Resolves: #64644
Change-Id: I87bb9c7df7debd6e5d44602330587eff3c1cf4fd
Reviewed-on: http://review.typo3.org/36437
Reviewed-by: Jan Helke <typo3@helke.de>
Tested-by: Jan Helke <typo3@helke.de>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
typo3/sysext/core/Tests/Unit/Utility/GeneralUtilityTest.php