diff options
Diffstat (limited to 'ext/phar/tests/cache_list/frontcontroller6.phpt')
-rw-r--r-- | ext/phar/tests/cache_list/frontcontroller6.phpt | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/ext/phar/tests/cache_list/frontcontroller6.phpt b/ext/phar/tests/cache_list/frontcontroller6.phpt new file mode 100644 index 0000000..2480be4 --- /dev/null +++ b/ext/phar/tests/cache_list/frontcontroller6.phpt @@ -0,0 +1,23 @@ +--TEST-- +Phar front controller 404 [cache_list] +--INI-- +phar.cache_list={PWD}/frontcontroller6.php +--SKIPIF-- +<?php if (!extension_loaded("phar")) die("skip"); ?> +--ENV-- +SCRIPT_NAME=/frontcontroller6.php +REQUEST_URI=/frontcontroller6.php/notfound.php +PATH_INFO=/notfound.php +--FILE_EXTERNAL-- +files/frontcontroller.phar +--EXPECTHEADERS-- +Status: 404 Not Found +--EXPECT-- +<html> + <head> + <title>File Not Found</title> + </head> + <body> + <h1>404 - File /notfound.php Not Found</h1> + </body> +</html>
\ No newline at end of file |