From 0bfa63490d89b53fa00c08dccbcb173043d5659f Mon Sep 17 00:00:00 2001 From: Jason Greene Date: Fri, 6 Jul 2001 05:48:52 +0000 Subject: Added wait.h functionality to pcntl Added tests for such functionality Removed bogus files --- ext/pcntl/tests/001.exp | 0 ext/pcntl/tests/001.out | 1 - ext/pcntl/tests/001.php | 14 --------- ext/pcntl/tests/001.phpt | 76 +++++++++++++++++++++++++++++++++++++++--------- 4 files changed, 63 insertions(+), 28 deletions(-) delete mode 100755 ext/pcntl/tests/001.exp delete mode 100755 ext/pcntl/tests/001.out delete mode 100755 ext/pcntl/tests/001.php (limited to 'ext/pcntl/tests') diff --git a/ext/pcntl/tests/001.exp b/ext/pcntl/tests/001.exp deleted file mode 100755 index e69de29bb2..0000000000 diff --git a/ext/pcntl/tests/001.out b/ext/pcntl/tests/001.out deleted file mode 100755 index efbc584688..0000000000 --- a/ext/pcntl/tests/001.out +++ /dev/null @@ -1 +0,0 @@ -pcntl extension is available \ No newline at end of file diff --git a/ext/pcntl/tests/001.php b/ext/pcntl/tests/001.php deleted file mode 100755 index d3be528a2a..0000000000 --- a/ext/pcntl/tests/001.php +++ /dev/null @@ -1,14 +0,0 @@ - diff --git a/ext/pcntl/tests/001.phpt b/ext/pcntl/tests/001.phpt index af214d0f62..d2f9923b95 100644 --- a/ext/pcntl/tests/001.phpt +++ b/ext/pcntl/tests/001.phpt @@ -1,22 +1,72 @@ --TEST-- -Check for pcntl presence +Test pcntl wait functionality --SKIPIF-- --POST-- --GET-- --FILE-- --EXPECT-- +Staring wait.h tests.... + +Testing pcntl_wifexited and wexitstatus....-1 +Exited With: -1 + +Testing pcntl_wifsignaled.... +Process was terminated by signal : 15 + +Testing pcntl_wifstopped and pcntl_wstopsig.... +Process was stoped by signal : 19 -- cgit v1.2.1