Actions
Bug #26423
closedFix unit test fixPermissionsSetsPermissionsWithRelativeFileReference
Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Tests
Target version:
-
Start date:
2011-04-28
Due date:
% Done:
100%
Estimated time:
TYPO3 Version:
4.6
PHP Version:
Tags:
Complexity:
Is Regression:
Sprint Focus:
Description
The test t3lib_divTest::fixPermissionsSetsPermissionsWithRelativeFileReference
uses a (wrong) relative path to a test file in the chmod()
call.
$filename = 'typo3temp/' . uniqid('test_'); t3lib_div::writeFileToTypo3tempDir(PATH_site . $filename, '42'); chmod($filename, 0742);
Thus the test fails with
PHP Warning: chmod() [<a href='function.chmod'>function.chmod</a>]: No such file or directory in /opt/local/apache2/vhosts/master/typo3_src/tests/t3lib/class.t3lib_divTest.php line 1900
Updated by Mr. Hudson over 13 years ago
Patch set 1 of change Ifab5649272952a626381e8562ca018d087efc789 has been pushed to the review server.
It is available at http://review.typo3.org/1780
Updated by Mr. Hudson over 13 years ago
Patch set 1 of change I14d5eb2e4a7f8867170c9d5fde7123b9313aea95 has been pushed to the review server.
It is available at http://review.typo3.org/1788
Updated by Steffen Gebert over 13 years ago
- Status changed from New to Resolved
- % Done changed from 0 to 100
Applied in changeset b14941b3dc0882712f71c9a64c488d6da06d5458.
Actions