1
0
mirror of https://github.com/php/php-src.git synced 2026-04-29 19:23:22 +02:00

fix tests

This commit is contained in:
Antony Dovgal
2015-01-22 17:56:41 +03:00
committed by Julien Pauli
parent 5c02e7e7fb
commit 2fa4e79e8a
3 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -6,7 +6,7 @@ pcntl_wait()
--FILE--
<?php
$pid = pcntl_fork();
if ($pid == 1) {
if ($pid == -1) {
die("failed");
} else if ($pid) {
$status = 0;
+1 -1
View File
@@ -6,7 +6,7 @@ pcntl_wait() and rusage
--FILE--
<?php
$pid = pcntl_fork();
if ($pid == 1) {
if ($pid == -1) {
die("failed");
} else if ($pid) {
$status = 0;
+1 -1
View File
@@ -6,7 +6,7 @@ pcntl_waitpid() and rusage
--FILE--
<?php
$pid = pcntl_fork();
if ($pid == 1) {
if ($pid == -1) {
die("failed");
} else if ($pid) {
$status = 0;