From: Antony Dovgal Date: Tue, 10 Oct 2006 22:38:00 +0000 (+0000) Subject: add new test X-Git-Tag: RELEASE_1_0_0RC1~1323 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=81c149153eefa16891333827cf1afd9a30d10020;p=php add new test --- diff --git a/ext/gd/tests/001.phpt b/ext/gd/tests/001.phpt new file mode 100644 index 0000000000..b0ac2a398f --- /dev/null +++ b/ext/gd/tests/001.phpt @@ -0,0 +1,25 @@ +--TEST-- +imagecreatefrompng() and empty/missing file +--SKIPIF-- + +--FILE-- + +--EXPECTF-- +Warning: imagecreatefrompng(%s001.test): failed to open stream: No such file or directory in %s on line %d +bool(false) + +Warning: imagecreatefrompng(): '%s001.test' is not a valid PNG file in %s on line %d +bool(false) +Done