]> granicus.if.org Git - php/commitdiff
cleanup on test failure
authorAntony Dovgal <tony2001@php.net>
Tue, 1 Jul 2008 11:20:15 +0000 (11:20 +0000)
committerAntony Dovgal <tony2001@php.net>
Tue, 1 Jul 2008 11:20:15 +0000 (11:20 +0000)
ext/gd/tests/gif.phpt

index eab8f5f327e45e8273487a3d995a9d6c9cddf805..3b0908c32795016e7a040a8366151d552179df5e 100644 (file)
@@ -132,6 +132,11 @@ if (check_box(255,255,255, 10)) {
        echo ">256 cols: ok\n";
 }
 
+@unlink($cwd . "/test_gif.gif");
+@unlink($cwd . "/test_gif_2.gif");
+?>
+--CLEAN--
+<?php
 @unlink($cwd . "/test_gif.gif");
 @unlink($cwd . "/test_gif_2.gif");
 ?>