Bug #32762

Folder removal fails in tests

Added by Karsten Dambekalns over 3 years ago. Updated over 3 years ago.

Status:Resolved Start date:
Priority:Must have Due date:
Assigned To:Karsten Dambekalns % Done:

100%

Category:Utility
Target version:TYPO3 Flow Base Distribution - 1.0.2
PHP Version: Complexity:
Has patch:No Affected Flow version:Git 1.0

Description

The same error as we already had it for master now appears on the FLOW3-1.0 branch.

On the CI server we see errors like

1) TYPO3\FLOW3\Tests\Unit\Resource\Publishing\FileSystemPublishingTargetTest::publishStaticResourcesLinksTheSpecifiedDirectoryIfMirrorModeIsLink
TYPO3\FLOW3\Utility\Exception: Could not unlink file "/tmp/FLOW3FileSystemPublishingTargetTestTarget/_Resources/Static/..".

Note the double dot at the end.


Related issues

related to TYPO3.Flow - Bug #32725: Folder removal sometimes fail in tests Resolved 2011-12-20

Associated revisions

Revision fa850f3e
Added by Karsten Dambekalns over 3 years ago

[BUGFIX] Make emptyDirectoryRecursively() ignore . and ..

The check for this breaks when the iterator returns . and .., they are
then handled like files, which cannot work.

Change-Id: I017f584af8445487f026e6cb7bcc6d3cf4d34722
Fixes: #32762
Releases: 1.0

History

#1 Updated by Gerrit Code Review over 3 years ago

  • Status changed from Accepted to Under Review

Patch set 1 for branch FLOW3-1.0 has been pushed to the review server.
It is available at http://review.typo3.org/7471

#2 Updated by Karsten Dambekalns over 3 years ago

  • Status changed from Under Review to Resolved
  • % Done changed from 0 to 100

Also available in: Atom PDF