From 20b755c30e78f819a40b5bcc18177a913242fb69 Mon Sep 17 00:00:00 2001 From: Steve Seear Date: Fri, 11 Apr 2008 09:33:59 +0000 Subject: POSIX extension error tests --- ext/posix/tests/posix_getpid_error.phpt | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 ext/posix/tests/posix_getpid_error.phpt (limited to 'ext/posix/tests/posix_getpid_error.phpt') diff --git a/ext/posix/tests/posix_getpid_error.phpt b/ext/posix/tests/posix_getpid_error.phpt new file mode 100644 index 0000000000..721bf66996 --- /dev/null +++ b/ext/posix/tests/posix_getpid_error.phpt @@ -0,0 +1,31 @@ +--TEST-- +Test posix_getpid() function : error conditions +--SKIPIF-- + +--FILE-- + +--EXPECTF-- +*** Testing posix_getpid() : error conditions *** + +-- Testing posix_getpid() function with one argument -- + +Warning: posix_getpid() expects exactly 0 parameters, 1 given in %s on line %d +NULL +Done -- cgit v1.2.1