]> granicus.if.org Git - php/commitdiff
- fix tests
authorPierre Joye <pajoye@php.net>
Sun, 24 Jan 2010 14:18:09 +0000 (14:18 +0000)
committerPierre Joye <pajoye@php.net>
Sun, 24 Jan 2010 14:18:09 +0000 (14:18 +0000)
ext/standard/tests/general_functions/bug49847.phpt
ext/standard/tests/general_functions/bug50732.phpt

index 637abd24ea1fdec2b24849775d85790bcba7fea3..01ee1618c0efab5d8f28106489f4fc233d400b95 100644 (file)
@@ -10,27 +10,3 @@ array(1) {
   [0]=>
   string(4098) "                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 1"
 }
---TEST--
-Bug #49847 (exec() fails on lines larger then 4095 bytes)
---FILE--
-<?php
-exec("printf %4098d 1", $output);
-var_dump($output);
-?>
---EXPECT--
-array(1) {
-  [0]=>
-  string(4098) "                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 1"
-}
---TEST--
-Bug #49847 (exec() fails on lines larger then 4095 bytes)
---FILE--
-<?php
-exec("printf %4098d 1", $output);
-var_dump($output);
-?>
---EXPECT--
-array(1) {
-  [0]=>
-  string(4098) "                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 1"
-}
index e036b47ed66d088e9c68ed3a90a02df8d403a078..ed8341decb8479d3f1e76d5d93cace8a9c3d3a57 100644 (file)
@@ -10,27 +10,3 @@ array(1) {
   [0]=>
   string(1) "x"
 }
---TEST--
-Bug #50732 (exec() adds single byte twice to $output array)
---FILE--
-<?php
-exec("echo x", $output);
-var_dump($output);
-?>
---EXPECT--
-array(1) {
-  [0]=>
-  string(1) "x"
-}
---TEST--
-Bug #50732 (exec() adds single byte twice to $output array)
---FILE--
-<?php
-exec("echo x", $output);
-var_dump($output);
-?>
---EXPECT--
-array(1) {
-  [0]=>
-  string(1) "x"
-}