Annotation of embedaddon/php/ext/gd/tests/imageloadfont_error2.phpt, revision 1.1

1.1     ! misho       1: --TEST--
        !             2: Testing that imageloadfont() breaks on invalid file passed as first argument
        !             3: --CREDITS--
        !             4: Austin Drouare <austin.drouare [at] gmail [dot] com> #testfest #tek11
        !             5: --SKIPIF--
        !             6: <?php 
        !             7:        if (!extension_loaded("gd")) die("skip GD not present");
        !             8: ?>
        !             9: --FILE--
        !            10: <?php
        !            11: var_dump( imageloadfont('\src\invalidfile.font') );
        !            12: ?>
        !            13: --EXPECTF--
        !            14: Warning: imageloadfont(\src\invalidfile.font): failed to open stream: No such file or directory in %s on line %d
        !            15: bool(false)

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>