]> granicus.if.org Git - php/commitdiff
Remove superfluous CLEAN sections
authorChristoph M. Becker <cmbecker69@gmx.de>
Thu, 13 Jun 2019 12:32:06 +0000 (14:32 +0200)
committerChristoph M. Becker <cmbecker69@gmx.de>
Thu, 13 Jun 2019 12:33:41 +0000 (14:33 +0200)
These actually should have been removed with commit be73ae3[1].

[1] <https://github.com/php/php-src/commit/be73ae31324f7f3294a9467c0646dba4324c78ef>

ext/gd/tests/imagegif_nullbyte_injection.phpt
ext/gd/tests/imagejpeg_nullbyte_injection.phpt
ext/gd/tests/imagepng_nullbyte_injection.phpt
ext/gd/tests/imagewbmp_nullbyte_injection.phpt
ext/gd/tests/imagewebp_nullbyte_injection.phpt

index c5acdd489e7cbd5b8b11755300c60dbaa1e17673..5793e90151aec6d68ebe7e5edb14622f30b34d79 100644 (file)
@@ -4,10 +4,6 @@ Testing null byte injection in imagegif
 <?php
 if(!extension_loaded('gd')){ die('skip gd extension not available'); }
 ?>
---CLEAN--
-$tempdir = sprintf("%s/%s", sys_get_temp_dir(), preg_replace("~\.php$~", null, __FILE__));
-foreach (glob($tempdir . "/test*") as $file ) { unlink($file); }
-rmdir($tempdir);
 --FILE--
 <?php
 $image = imagecreate(1,1);// 1px image
index 29cb537c3a664a09a18adddf1a9fa7dc5171c066..381421d144654d6637db51040b493fafec2c32ba 100644 (file)
@@ -8,10 +8,6 @@ if (!isset($support['JPEG Support']) || $support['JPEG Support'] === false) {
        print 'skip jpeg support not available';
 }
 ?>
---CLEAN--
-$tempdir = sprintf("%s/%s", sys_get_temp_dir(), preg_replace("~\.php$~", null, __FILE__));
-foreach (glob($tempdir . "/test*") as $file ) { unlink($file); }
-rmdir($tempdir);
 --FILE--
 <?php
 $image = imagecreate(1,1);// 1px image
index 271d4d5bd3fecfb4baf03e38dce7aa800a07e8ad..773178541b5a3d673e928bc76fde4a2c47b71c6d 100644 (file)
@@ -8,10 +8,6 @@ if (!isset($support['PNG Support']) || $support['PNG Support'] === false) {
        print 'skip png support not available';
 }
 ?>
---CLEAN--
-$tempdir = sprintf("%s/%s", sys_get_temp_dir(), preg_replace("~\.php$~", null, __FILE__));
-foreach (glob($tempdir . "/test*") as $file ) { unlink($file); }
-rmdir($tempdir);
 --FILE--
 <?php
 $image = imagecreate(1,1);// 1px image
index fc5d238f41ef26258f490b89871ad8ab55ccf225..6f7557d307aecaacefd1a73c9614b95c24376abc 100644 (file)
@@ -8,10 +8,6 @@ if (!isset($support['WBMP Support']) || $support['WBMP Support'] === false) {
        print 'skip wbmp support not available';
 }
 ?>
---CLEAN--
-$tempdir = sprintf("%s/%s", sys_get_temp_dir(), preg_replace("~\.php$~", null, __FILE__));
-foreach (glob($tempdir . "/test*") as $file ) { unlink($file); }
-rmdir($tempdir);
 --FILE--
 <?php
 $image = imagecreate(1,1);// 1px image
index d778d0a379349454bc02335d6ab5cae9060abc03..68712f282fed1c56f6304665e76c0985702656e3 100644 (file)
@@ -8,10 +8,6 @@ if (!isset($support['WebP Support']) || $support['WebP Support'] === false) {
        print 'skip webp support not available';
 }
 ?>
---CLEAN--
-$tempdir = sprintf("%s/%s", sys_get_temp_dir(), preg_replace("~\.php$~", null, __FILE__));
-foreach (glob($tempdir . "/test*") as $file ) { unlink($file); }
-rmdir($tempdir);
 --FILE--
 <?php
 $image = imagecreate(1,1);// 1px image