com php-src: Cleanup temp file: ext/gd/tests/imagecrop_auto .phpt
| From: | Christopher Jones | Date: | Tue, 09 Jul 2013 21:51:47 +0000 |
| Subject: | com php-src: Cleanup temp file: ext/gd/tests/imagecrop_auto .phpt | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-72602@lists.php.net to get a copy of this message | ||
Commit: cd7e56e5360f5d3142cfa4e94e59e5a55c5497a7
Author: Christopher Jones <sixd@php.net> Tue, 9 Jul 2013 14:51:47 -0700
Parents: 06cef326fd6ec9dac28bb553e4abd1a3f25ad71f
Branches: PHP-5.5 master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=cd7e56e5360f5d3142cfa4e94e59e5a55c5497a7
Log:
Cleanup temp file
Changed paths:
M ext/gd/tests/imagecrop_auto.phpt
Diff:
diff --git a/ext/gd/tests/imagecrop_auto.phpt b/ext/gd/tests/imagecrop_auto.phpt
index c2b5177..1c1929d 100644
--- a/ext/gd/tests/imagecrop_auto.phpt
+++ b/ext/gd/tests/imagecrop_auto.phpt
@@ -57,6 +57,8 @@ $im_crop = imagecropauto($im, IMG_CROP_THRESHOLD, 0.1, 0x0);
imagepng($im_crop, __DIR__ . "/crop_threshold.png");
var_dump(imagesx($im_crop));
var_dump(imagesy($im_crop));
+
+@unlink(__DIR__ . "/crop_threshold.png");
?>
--EXPECT--
TC IMG_CROP_DEFAULT