Project

General

Profile

Actions

Bug #25089

closed

Cleanup: Unit test fails because of invalid clear.gif

Added by Alexander Stehlik almost 14 years ago. Updated over 13 years ago.

Status:
Closed
Priority:
Should have
Category:
-
Target version:
-
Start date:
2011-02-18
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
4.5
PHP Version:
5.3
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

Unit test t3lib_iconWorksTest::imagemakeFixesPermissionsOnNewFiles fails because tests/t3lib/fixtures/clear.gif seems to be an invalid GIF image.

Solution: Replace it with the clear.gif from the dummy package.

The behaviour for this image is quite strange on my system (Ubuntu 10.04). I can open the image in GIMP without problems but the eye of gnome and the preview in nautilus fails. Eye of gnome complains about a missing color table.

imagecreatefromgif return in the unit test returns FALSE but doesn't show any error message.

I attached the gif from the dummy package that makes the test green again for me.

(issue imported from #M17656)


Files

clear.gif (46 Bytes) clear.gif Administrator Admin, 2011-02-18 17:44
Actions

Also available in: Atom PDF