summaryrefslogtreecommitdiff
path: root/ext/phar/tests/cache_list/frontcontroller34.phpt
diff options
context:
space:
mode:
Diffstat (limited to 'ext/phar/tests/cache_list/frontcontroller34.phpt')
-rw-r--r--ext/phar/tests/cache_list/frontcontroller34.phpt19
1 files changed, 19 insertions, 0 deletions
diff --git a/ext/phar/tests/cache_list/frontcontroller34.phpt b/ext/phar/tests/cache_list/frontcontroller34.phpt
new file mode 100644
index 0000000..83c22f5
--- /dev/null
+++ b/ext/phar/tests/cache_list/frontcontroller34.phpt
@@ -0,0 +1,19 @@
+--TEST--
+Phar front controller with cwd [cache_list]
+--INI--
+default_charset=UTF-8
+phar.cache_list={PWD}/frontcontroller34.php
+--SKIPIF--
+<?php if (!extension_loaded("phar")) die("skip"); ?>
+--ENV--
+SCRIPT_NAME=/frontcontroller34.php
+REQUEST_URI=/frontcontroller34.php/start/index.php
+PATH_INFO=/start/index.php
+--EXPECTHEADERS--
+Content-type: text/html; charset=UTF-8
+--FILE_EXTERNAL--
+files/frontcontroller19.phar
+--EXPECT--
+start/index.php
+start/another.php
+another.php