From 3ade59e537740fae0f53083829508fc56b70637f Mon Sep 17 00:00:00 2001 From: Greg Beaver Date: Mon, 11 Feb 2008 01:07:53 +0000 Subject: [PATCH] update test phars --- ext/phar/tests/frontcontroller10.phpt | 4 ++-- ext/phar/tests/frontcontroller3.phar | Bin 421 -> 446 bytes ext/phar/tests/frontcontroller3.phar.inc | 1 + ext/phar/tests/frontcontroller4.phar | Bin 432 -> 442 bytes ext/phar/tests/tar/frontcontroller3.phar.inc | 1 + ext/phar/tests/tar/frontcontroller3.phar.tar | Bin 5120 -> 5120 bytes ext/phar/tests/tar/frontcontroller4.phar.tar | Bin 5120 -> 5120 bytes ext/phar/tests/zip/frontcontroller3.phar.inc | 1 + ext/phar/tests/zip/frontcontroller3.phar.zip | Bin 801 -> 826 bytes ext/phar/tests/zip/frontcontroller4.phar.zip | Bin 812 -> 822 bytes 10 files changed, 5 insertions(+), 2 deletions(-) diff --git a/ext/phar/tests/frontcontroller10.phpt b/ext/phar/tests/frontcontroller10.phpt index 195fdd8dff..1682124867 100644 --- a/ext/phar/tests/frontcontroller10.phpt +++ b/ext/phar/tests/frontcontroller10.phpt @@ -1,5 +1,5 @@ --TEST-- -Phar front controller rewrite array invalid +Phar front controller rewrite access denied --SKIPIF-- --ENV-- @@ -19,4 +19,4 @@ Status: 403 Access Denied

403 - File /hi Access Denied

- \ No newline at end of file + diff --git a/ext/phar/tests/frontcontroller3.phar b/ext/phar/tests/frontcontroller3.phar index fc63fd4f1c4235975af5ce0916476d9c8d290609..afcf03af35117e22eda4011a818af5a205a5dbd7 100644 GIT binary patch delta 153 zcmZ3=ypLJZ#=anC=%i_q@ONADAatu%t%vY@0gi6cYmjgS(Tj69BT7F)jcA delta 177 zcmdnTyp&nY#=an "a.phps"); if (isset($b[$a])) return $b[$a]; + return $a; } Phar::webPhar("whatever", "/index.php", null, array(), "s"); echo "oops did not run\n"; diff --git a/ext/phar/tests/frontcontroller4.phar b/ext/phar/tests/frontcontroller4.phar index c9413ba875c8aea52ab799084046f4248fd65700..4c9a92a197b8b47a026701005b94625185ea6958 100644 GIT binary patch delta 155 zcmdnMyo*`V#=anJqqFz=(I!FSj sV6rQtJTr(+XVjI^vj3d9$a&+7aNg_-$@LdKT%Q@oG6B`OJNY^R0Bl??DgXcg delta 165 zcmdnRyn$KF#=an1lc!|ORhC#3pHiAzprI1)>KCS?pb{VK z8WiRlq-j0zgEccp-|ESFjB;SwpHUu67c%O~tk*p<&0(p#&pH);jr>h1m-oF_6=Gsw KU~qTxbpimyo-}3v diff --git a/ext/phar/tests/tar/frontcontroller3.phar.inc b/ext/phar/tests/tar/frontcontroller3.phar.inc index 02525232b6..9729d0065b 100644 --- a/ext/phar/tests/tar/frontcontroller3.phar.inc +++ b/ext/phar/tests/tar/frontcontroller3.phar.inc @@ -9,6 +9,7 @@ function s($a) { static $b = array("/hi" => "a.phps"); if (isset($b[$a])) return $b[$a]; + return $a; } Phar::webPhar("whatever", "/index.php", null, array(), "s"); echo "oops did not run\n"; diff --git a/ext/phar/tests/tar/frontcontroller3.phar.tar b/ext/phar/tests/tar/frontcontroller3.phar.tar index 6f7361f5814be669e600db0eb786491cd15c5afd..f733884d122423acf03d633cc2536db7ac40b923 100644 GIT binary patch delta 214 zcmZqBXwaC@%WrIMXl7<=XaEGJW+tYS1sPK}GcvX?i<=ml7#JFun<6PNH!(7RC}3q_ z6yfDcE6qzT$;{7FDArI()a2!==AA6Yrp3rR*?~=jLjgH SbM`PJJKM~_80u`^|7-xHax{kk delta 190 zcmZqBXwaC@%Wq_EXl!6$XaEGJW=3X{1sPK}GcvX?iyNC61BJ~^krbGl7??m5u(B`; za;25#C6{F8=P49xs3dA~RZo^=)0*tUrpCloJGqX{cJdxJX=$#q#G?3=(%b?Km3UXb wFdYSz_+ZzdFxMbW>&;)-co-)tNKWEFbA_Qf#1hUPW@P7?85lyH$NQfR0H1#^pa1{> diff --git a/ext/phar/tests/tar/frontcontroller4.phar.tar b/ext/phar/tests/tar/frontcontroller4.phar.tar index 22ac39f35aa46d1c8d39915decee9a12f8e20c69..5d11af499c181d8bada5b7a9d0579368cb034865 100644 GIT binary patch delta 192 zcmZqBXwaC@%WrIMXl7<&ZU6+PW~N4y1sPK}GcvX?i<=l47#JFun<6PNH!(7VC}3q_ z6yfDcE6qzT$;{7FDArI()a2!==AA6Yrq0Ma*_KTWD6IelMX4pFMR^J;iPpSawY-x{ r*ld8(8`z|QX|sXsgqeX6)Dyh_*#Ij "a.phps"); if (isset($b[$a])) return $b[$a]; + return $a; } Phar::webPhar("whatever", "/index.php", null, array(), "s"); echo "oops did not run\n"; diff --git a/ext/phar/tests/zip/frontcontroller3.phar.zip b/ext/phar/tests/zip/frontcontroller3.phar.zip index 5ac63f168292c8e5cae883469f1d7a2fe6382094..40c1d4994b313927ce0369daeda06ace70309b54 100644 GIT binary patch delta 236 zcmZ3;wu_B7z?+$c0SvsSdrjmukp4$v#XD pFlol7$*Y;vbEPI{8qt3`XakCmwQUM5xQcFsU@)T4Ot$Dd>c_+TIk>%w|P0q+yP|D9Q zC{{?xOi{?oFHtBe&5OxXvgV!a$SBRoJ2{3?i5X(EDVW~L=nbZ4F-cEWVp2zQ%H(h+ k2beT-9V5f!iHs7HFEH_d#qKjnGj5ywn@O9Ei3#K*02%T+H~;_u delta 174 zcmdnSwuX&2z?+$c0SvBpyHDgb -- 2.50.1