summaryrefslogtreecommitdiff
path: root/ext/pcntl/tests
diff options
context:
space:
mode:
authorJason Greene <jason@php.net>2001-06-12 08:54:25 +0000
committerJason Greene <jason@php.net>2001-06-12 08:54:25 +0000
commit8b43f3222ec7a2956568cd6da055afac89fd3b87 (patch)
tree09ec0cdeb60f4491efceb4549f34bd401891f8a9 /ext/pcntl/tests
parent3186994df105eafbf292d15187703b654431263b (diff)
downloadphp-git-8b43f3222ec7a2956568cd6da055afac89fd3b87.tar.gz
@Added new experimental module pcntl (Process Control) (Jason)
Initial Import
Diffstat (limited to 'ext/pcntl/tests')
-rwxr-xr-xext/pcntl/tests/001.exp0
-rwxr-xr-xext/pcntl/tests/001.out1
-rwxr-xr-xext/pcntl/tests/001.php14
-rw-r--r--ext/pcntl/tests/001.phpt22
4 files changed, 37 insertions, 0 deletions
diff --git a/ext/pcntl/tests/001.exp b/ext/pcntl/tests/001.exp
new file mode 100755
index 0000000000..e69de29bb2
--- /dev/null
+++ b/ext/pcntl/tests/001.exp
diff --git a/ext/pcntl/tests/001.out b/ext/pcntl/tests/001.out
new file mode 100755
index 0000000000..efbc584688
--- /dev/null
+++ b/ext/pcntl/tests/001.out
@@ -0,0 +1 @@
+pcntl extension is available \ No newline at end of file
diff --git a/ext/pcntl/tests/001.php b/ext/pcntl/tests/001.php
new file mode 100755
index 0000000000..d3be528a2a
--- /dev/null
+++ b/ext/pcntl/tests/001.php
@@ -0,0 +1,14 @@
+<?php
+echo "pcntl extension is available";
+/*
+ you can add regression tests for your extension here
+
+ the output of your test code has to be equal to the
+ text in the --EXPECT-- section below for the tests
+ to pass, differences between the output and the
+ expected text are interpreted as failure
+
+ see php4/tests/README for further information on
+ writing regression tests
+*/
+?>
diff --git a/ext/pcntl/tests/001.phpt b/ext/pcntl/tests/001.phpt
new file mode 100644
index 0000000000..af214d0f62
--- /dev/null
+++ b/ext/pcntl/tests/001.phpt
@@ -0,0 +1,22 @@
+--TEST--
+Check for pcntl presence
+--SKIPIF--
+<?php if (!extension_loaded("pcntl")) print "skip"; ?>
+--POST--
+--GET--
+--FILE--
+<?php
+echo "pcntl extension is available";
+/*
+ you can add regression tests for your extension here
+
+ the output of your test code has to be equal to the
+ text in the --EXPECT-- section below for the tests
+ to pass, differences between the output and the
+ expected text are interpreted as failure
+
+ see php4/tests/README for further information on
+ writing regression tests
+*/
+?>
+--EXPECT--