Update new test to use EXTENSIONS section instead of SKIPIF

This commit is contained in:
Christoph M. Becker 2022-10-24 15:02:05 +02:00
parent 261a08af65
commit b4fb66463b
No known key found for this signature in database
GPG key ID: D66C9593118BCCB6

View file

@ -1,9 +1,7 @@
--TEST-- --TEST--
Bug #81739 (OOB read due to insufficient validation in imageloadfont()) Bug #81739 (OOB read due to insufficient validation in imageloadfont())
--SKIPIF-- --EXTENSIONS--
<?php gd
if (!extension_loaded("gd")) die("skip gd extension not available");
?>
--FILE-- --FILE--
<?php <?php
$s = fopen(__DIR__ . "/font.font", "w"); $s = fopen(__DIR__ . "/font.font", "w");