Bug #31070
Symlink related Unit Tests fail on some Windows systems
100%
Description
Depending on the system configuration and the current Windows Username, the PHP function sys_get_temp_dir()
returns an abbreviated path to the temporary directory.
Details: By default, this function returns C:\Windows\TEMP
for me. But running the unit tests from CLI, it returns C:\Users\BWAIDEL~1\AppData\Local\Temp\
- That breaks our \TYPO3\FLOW3\Utitlity\Files::is_link()
work around.
To fix this, we should use realpath(sys_get_temp_dir())
or tempnam()
instead.
Updated by Bastian Waidelich over 9 years ago
- Subject changed from File based Unit Rests fail on some Windows systems to Symlink related Unit Tests fail on some Windows systems
Updated by Mr. Hudson over 9 years ago
- Status changed from Accepted to Under Review
Patch set 1 of change I6e59ec224d6c3a3c6f62180be334d3b76d1d067d has been pushed to the review server.
It is available at http://review.typo3.org/5967
Updated by Mr. Hudson over 9 years ago
Patch set 2 of change I6e59ec224d6c3a3c6f62180be334d3b76d1d067d has been pushed to the review server.
It is available at http://review.typo3.org/5967
Updated by Mr. Hudson about 9 years ago
Patch set 3 of change I6e59ec224d6c3a3c6f62180be334d3b76d1d067d has been pushed to the review server.
It is available at http://review.typo3.org/5967
Updated by Mr. Hudson about 9 years ago
Patch set 4 of change I6e59ec224d6c3a3c6f62180be334d3b76d1d067d has been pushed to the review server.
It is available at http://review.typo3.org/5967
Updated by Bastian Waidelich about 9 years ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset 60b45d7d1d9ea6e87dc4fc690183f281a50c286c.