fix stdin reading in new openssl tests

This commit is contained in:
Anatol Belski 2014-02-26 11:27:24 +01:00
parent 82a98f6e52
commit 56cbe04381

View File

@ -72,11 +72,12 @@ class ServerClientTestCase
public function runWorker()
{
$code = '';
$i = 0;
while (1) {
$line = fgets(STDIN);
while(($line = fgets(STDIN)) != false) {
echo $line;
if (trim($line) === "---") {
if ($i++ > 128) {
break;
}