From: Pierre Joye <pajoye@php.net>
Date: Sun, 24 Jan 2010 14:18:09 +0000 (+0000)
Subject: - fix tests
X-Git-Tag: php-5.4.0alpha1~402
X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=7617d75d924bb0576fee641a4f2ad06c78d94e3d;p=php

- fix tests
---

diff --git a/ext/standard/tests/general_functions/bug49847.phpt b/ext/standard/tests/general_functions/bug49847.phpt
index 637abd24ea..01ee1618c0 100644
--- a/ext/standard/tests/general_functions/bug49847.phpt
+++ b/ext/standard/tests/general_functions/bug49847.phpt
@@ -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"
-}
diff --git a/ext/standard/tests/general_functions/bug50732.phpt b/ext/standard/tests/general_functions/bug50732.phpt
index e036b47ed6..ed8341decb 100644
--- a/ext/standard/tests/general_functions/bug50732.phpt
+++ b/ext/standard/tests/general_functions/bug50732.phpt
@@ -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"
-}