com php-src: restored that test part in ext/openssl to enable notify/wait: ext/openssl/tests/ServerClientTestCase.inc

From: Date: Wed, 26 Feb 2014 12:37:20 +0000
Subject: com php-src: restored that test part in ext/openssl to enable notify/wait: ext/openssl/tests/ServerClientTestCase.inc
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-76221@lists.php.net to get a copy of this message
Commit: 9ab73c52ab56fd0f5eb3f2b774fb65d605c10980 Author: Anatol Belski <ab@php.net> Wed, 26 Feb 2014 13:37:20 +0100 Parents: bcff8d1b26d0c510d93bdc4db2cd9e6c1c116d82 Branches: PHP-5.6 master Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=9ab73c52ab56fd0f5eb3f2b774fb65d605c10980 Log: restored that test part in ext/openssl to enable notify/wait Changed paths: M ext/openssl/tests/ServerClientTestCase.inc Diff: diff --git a/ext/openssl/tests/ServerClientTestCase.inc b/ext/openssl/tests/ServerClientTestCase.inc index 06e6154..03e0c2d 100644 --- a/ext/openssl/tests/ServerClientTestCase.inc +++ b/ext/openssl/tests/ServerClientTestCase.inc @@ -72,10 +72,11 @@ class ServerClientTestCase public function runWorker() { $code = ''; - $i = 0; - while(($line = fgets(STDIN)) != false) { - if ($i++ > 128) { + while (1) { + $line = fgets(STDIN); + + if (trim($line) === "---") { break; }

« previous php.cvs (#76221) next »