]> granicus.if.org Git - php/commitdiff
update test phars
authorGreg Beaver <cellog@php.net>
Mon, 11 Feb 2008 01:07:53 +0000 (01:07 +0000)
committerGreg Beaver <cellog@php.net>
Mon, 11 Feb 2008 01:07:53 +0000 (01:07 +0000)
ext/phar/tests/frontcontroller10.phpt
ext/phar/tests/frontcontroller3.phar
ext/phar/tests/frontcontroller3.phar.inc
ext/phar/tests/frontcontroller4.phar
ext/phar/tests/tar/frontcontroller3.phar.inc
ext/phar/tests/tar/frontcontroller3.phar.tar
ext/phar/tests/tar/frontcontroller4.phar.tar
ext/phar/tests/zip/frontcontroller3.phar.inc
ext/phar/tests/zip/frontcontroller3.phar.zip
ext/phar/tests/zip/frontcontroller4.phar.zip

index 195fdd8dfff0da1f3d0a6187bb8566fbc57861ec..16821248679754eac365a59e0b1b76479d22f855 100644 (file)
@@ -1,5 +1,5 @@
 --TEST--
-Phar front controller rewrite array invalid
+Phar front controller rewrite access denied
 --SKIPIF--
 <?php if (!extension_loaded("phar")) die("skip"); ?>
 --ENV--
@@ -19,4 +19,4 @@ Status: 403 Access Denied
  <body>
   <h1>403 - File /hi Access Denied</h1>
  </body>
-</html>
\ No newline at end of file
+</html>
index fc63fd4f1c4235975af5ce0916476d9c8d290609..afcf03af35117e22eda4011a818af5a205a5dbd7 100644 (file)
Binary files a/ext/phar/tests/frontcontroller3.phar and b/ext/phar/tests/frontcontroller3.phar differ
index ef2bee282ac266527cec96d14e76bd99160e00f2..2759d9ee45a7ea4752dbb8ad8a488db238f3f8ee 100644 (file)
@@ -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";
index c9413ba875c8aea52ab799084046f4248fd65700..4c9a92a197b8b47a026701005b94625185ea6958 100644 (file)
Binary files a/ext/phar/tests/frontcontroller4.phar and b/ext/phar/tests/frontcontroller4.phar differ
index 02525232b6bc570ab705a77a193f5d01e8e1576f..9729d0065b7b3ca82ba0b78cdadfb43a4b5883e2 100644 (file)
@@ -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";
index 6f7361f5814be669e600db0eb786491cd15c5afd..f733884d122423acf03d633cc2536db7ac40b923 100644 (file)
Binary files a/ext/phar/tests/tar/frontcontroller3.phar.tar and b/ext/phar/tests/tar/frontcontroller3.phar.tar differ
index 22ac39f35aa46d1c8d39915decee9a12f8e20c69..5d11af499c181d8bada5b7a9d0579368cb034865 100644 (file)
Binary files a/ext/phar/tests/tar/frontcontroller4.phar.tar and b/ext/phar/tests/tar/frontcontroller4.phar.tar differ
index 8cd949aa74fba56f70aa987d261576a4531db257..ab28f7b3d0179c5186e6dc42b5aceec07a78af07 100644 (file)
@@ -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";
index 5ac63f168292c8e5cae883469f1d7a2fe6382094..40c1d4994b313927ce0369daeda06ace70309b54 100644 (file)
Binary files a/ext/phar/tests/zip/frontcontroller3.phar.zip and b/ext/phar/tests/zip/frontcontroller3.phar.zip differ
index 70c70a1ddaf31e5e89fbe5809dd8a86d00167afe..4dc83408b059aa3f388e8c0ce12584827a315f1b 100644 (file)
Binary files a/ext/phar/tests/zip/frontcontroller4.phar.zip and b/ext/phar/tests/zip/frontcontroller4.phar.zip differ