Issue Bug Closed

#25089Cleanup: Unit test fails because of invalid clear.gif

Alexander Stehlik 02/18/11, 17:44 updated 02/26/11, 01:11

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)

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.