Project

General

Profile

Actions

Bug #26423

closed

Fix unit test fixPermissionsSetsPermissionsWithRelativeFileReference

Added by Steffen Gebert over 13 years ago. Updated about 6 years ago.

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

Actions #1

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

Actions #2

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

Actions #3

Updated by Steffen Gebert over 13 years ago

  • Status changed from New to Resolved
  • % Done changed from 0 to 100
Actions #4

Updated by Benni Mack about 6 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF