mirror of
https://github.com/php/php-src.git
synced 2024-11-24 10:24:11 +08:00
fix tests
This commit is contained in:
parent
5c02e7e7fb
commit
2fa4e79e8a
@ -6,7 +6,7 @@ pcntl_wait()
|
||||
--FILE--
|
||||
<?php
|
||||
$pid = pcntl_fork();
|
||||
if ($pid == 1) {
|
||||
if ($pid == -1) {
|
||||
die("failed");
|
||||
} else if ($pid) {
|
||||
$status = 0;
|
||||
|
@ -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;
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user