Annotation of embedaddon/php/ext/xmlwriter/tests/bug48204.phpt, revision 1.1.1.1

1.1       misho       1: --TEST--
                      2: xmlwriter_open_uri with PHP_MAXPATHLEN + 1
                      3: --SKIPIF--
                      4: <?php if (!extension_loaded("xmlwriter")) print "skip"; ?>
                      5: --FILE--
                      6: <?php 
                      7: $path = str_repeat('a', PHP_MAXPATHLEN + 1);
                      8: var_dump(xmlwriter_open_uri('file:///' . $path));
                      9: ?>
                     10: --CREDITS--
                     11: Koen Kuipers koenk82@gmail.com
                     12: Theo van der Zee
                     13: #Test Fest Utrecht 09-05-2009
                     14: --EXPECTF--
                     15: 
                     16: Warning: xmlwriter_open_uri(): Unable to resolve file path in %s on line %d
                     17: bool(false)

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