From 3a27729fd8676f227481c99242e2416cc46da407 Mon Sep 17 00:00:00 2001 From: Greg Beaver Date: Sat, 5 Jan 2008 04:12:24 +0000 Subject: [PATCH] new test --- ext/phar/tests/frontcontroller2.phar | Bin 0 -> 297 bytes ext/phar/tests/frontcontroller2.phar.inc | 12 ++++++++++++ ext/phar/tests/frontcontroller7.phpt | 13 +++++++++++++ 3 files changed, 25 insertions(+) create mode 100644 ext/phar/tests/frontcontroller2.phar create mode 100644 ext/phar/tests/frontcontroller2.phar.inc create mode 100644 ext/phar/tests/frontcontroller7.phpt diff --git a/ext/phar/tests/frontcontroller2.phar b/ext/phar/tests/frontcontroller2.phar new file mode 100644 index 0000000000000000000000000000000000000000..0dd0e7f695629841ce0c4cac30f4960dc5e60547 GIT binary patch literal 297 zcmcDqFUTn13dl$-va%{qO#(4Al*%&_OH#{HiQ%Z9SG*seU{latcfV$%2Jsf>P;+_3{ z13Z0PgETa)73}SJxyl$A7?^=r5QrIp7y?*<6xcqHR1b5#JBVKUe*1-OP&E(*Sq161 z6tKZeC>Dbn0iuO-8WUhfWMt+8kqyY(3TdTz$t9Wjc?v)g4bAG>+iOl2www-T(7D~c U!01QBw~0y`x0rzX-JN`$0E>lB3;+NC literal 0 HcmV?d00001 diff --git a/ext/phar/tests/frontcontroller2.phar.inc b/ext/phar/tests/frontcontroller2.phar.inc new file mode 100644 index 0000000000..653c79691d --- /dev/null +++ b/ext/phar/tests/frontcontroller2.phar.inc @@ -0,0 +1,12 @@ +setStub(' diff --git a/ext/phar/tests/frontcontroller7.phpt b/ext/phar/tests/frontcontroller7.phpt new file mode 100644 index 0000000000..c2e64336f0 --- /dev/null +++ b/ext/phar/tests/frontcontroller7.phpt @@ -0,0 +1,13 @@ +--TEST-- +Phar front controller alternate index file +--SKIPIF-- + +--ENV-- +SCRIPT_NAME=/frontcontroller7.php/ +REQUEST_URI=/frontcontroller7.php/ +--FILE_EXTERNAL-- +frontcontroller2.phar +--EXPECTHEADERS-- +Status: 301 Moved Permanently +Location: /frontcontroller7.php/a.php +--EXPECT-- -- 2.50.1