From 8f79663143a3c2c3242485b033132caa7de3eb07 Mon Sep 17 00:00:00 2001 From: Greg Beaver Date: Sat, 5 Jan 2008 04:27:01 +0000 Subject: [PATCH] new test --- ext/phar/tests/frontcontroller3.phar | Bin 0 -> 278 bytes ext/phar/tests/frontcontroller3.phar.inc | 12 ++++++++++++ ext/phar/tests/frontcontroller8.phpt | 20 ++++++++++++++++++++ 3 files changed, 32 insertions(+) create mode 100644 ext/phar/tests/frontcontroller3.phar create mode 100644 ext/phar/tests/frontcontroller3.phar.inc create mode 100644 ext/phar/tests/frontcontroller8.phpt diff --git a/ext/phar/tests/frontcontroller3.phar b/ext/phar/tests/frontcontroller3.phar new file mode 100644 index 0000000000000000000000000000000000000000..7ddcad29d486da6096fbc223f3886a9bd2f1b967 GIT binary patch literal 278 zcmcDqFUTn13dl$-va%{qO#(4AG_AQ(lQZ%al=AZniWO2aQxx*@OB9Mq^J4Opthve( zi{evCa|<+7;$8j1bQDzLgI$BdT!VnR;^RFWeL~`${e1&GeO!Zp1}WIv@p6?hFfcF! zu^3Wo-5CAbRcl?H9H|)j$+v6{O=*zy>p+SPW_eh!)OiOn@1Y zk(m!fHXuJLq?P6+mt^MWDF8(@G^=ZWCU0tsetStub(' 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 -- 2.50.1