[BUGFIX] Failling unit test in GeneralUtilityTest for Windows system 42/36442/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:54 +0000 (16:39 +0100)
commit268ed17547a30846a38a62376c844f671e359997
tree8ca12ec50815a5d3ef69c1f912a81ae650733ccf
parente025a1653c07f6ae7df2e8a11aa1e742b880d54b
[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/36442
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
typo3/sysext/core/Tests/Unit/Utility/GeneralUtilityTest.php