From: Greg Beaver Date: Sat, 5 Jan 2008 04:27:01 +0000 (+0000) Subject: new test X-Git-Tag: RELEASE_2_0_0a1~1023 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=8f79663143a3c2c3242485b033132caa7de3eb07;p=php new test --- diff --git a/ext/phar/tests/frontcontroller3.phar b/ext/phar/tests/frontcontroller3.phar new file mode 100644 index 0000000000..7ddcad29d4 Binary files /dev/null and b/ext/phar/tests/frontcontroller3.phar differ diff --git a/ext/phar/tests/frontcontroller3.phar.inc b/ext/phar/tests/frontcontroller3.phar.inc new file mode 100644 index 0000000000..955606d111 --- /dev/null +++ b/ext/phar/tests/frontcontroller3.phar.inc @@ -0,0 +1,12 @@ +setStub(' diff --git a/ext/phar/tests/frontcontroller8.phpt b/ext/phar/tests/frontcontroller8.phpt new file mode 100644 index 0000000000..812bb38efb --- /dev/null +++ b/ext/phar/tests/frontcontroller8.phpt @@ -0,0 +1,20 @@ +--TEST-- +Phar front controller no index file 404 +--SKIPIF-- + +--ENV-- +SCRIPT_NAME=/frontcontroller8.php/ +REQUEST_URI=/frontcontroller8.php/ +--FILE_EXTERNAL-- +frontcontroller3.phar +--EXPECTHEADERS-- +Status: 404 Not Found +--EXPECT-- + + + File Not Found<title> + </head> + <body> + <h1>404 - File /index.php Not Found</h1> + </body> +</html> \ No newline at end of file