Annotation of embedaddon/php/ext/phar/tests/tar/frontcontroller12.phar.phpt, revision 1.1.1.1

1.1       misho       1: --TEST--
                      2: Phar front controller mime type unknown int tar-based
                      3: --INI--
                      4: default_charset=UTF-8
                      5: --SKIPIF--
                      6: <?php if (!extension_loaded("phar")) die("skip"); ?>
                      7: --ENV--
                      8: SCRIPT_NAME=/frontcontroller12.phar.php
                      9: REQUEST_URI=/frontcontroller12.phar.php/a.php
                     10: PATH_INFO=/a.php
                     11: --FILE_EXTERNAL--
                     12: files/frontcontroller6.phar.tar
                     13: --EXPECTHEADERS--
                     14: Content-type: text/html; charset=UTF-8
                     15: --EXPECTF--
                     16: Fatal error: Uncaught exception 'PharException' with message 'Unknown mime type specifier used, only Phar::PHP, Phar::PHPS and a mime type string are allowed' in %sfrontcontroller12.phar.php:2
                     17: Stack trace:
                     18: #0 %sfrontcontroller12.phar.php(2): Phar::webPhar('whatever', 'index.php', '', Array)
                     19: #1 {main}
                     20:   thrown in %sfrontcontroller12.phar.php on line 2

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