From 3c227429b28178fbaa431941c3c76d2e71093d20 Mon Sep 17 00:00:00 2001 From: Felipe Pena Date: Wed, 3 Dec 2008 16:20:59 +0000 Subject: - Coverage++ --- ext/posix/tests/posix_getcwd.phpt | 16 ++++++++++++++++ ext/posix/tests/posix_getgrnam.phpt | 16 ++++++++++++++++ ext/posix/tests/posix_getpwnam.phpt | 16 ++++++++++++++++ ext/posix/tests/posix_getrlimit.phpt | 14 ++++++++++++++ ext/posix/tests/posix_initgroups.phpt | 15 +++++++++++++++ ext/posix/tests/posix_isatty.phpt | 12 ++++++++++++ ext/posix/tests/posix_mknod.phpt | 12 ++++++++++++ 7 files changed, 101 insertions(+) create mode 100644 ext/posix/tests/posix_getcwd.phpt create mode 100644 ext/posix/tests/posix_getgrnam.phpt create mode 100644 ext/posix/tests/posix_getpwnam.phpt create mode 100644 ext/posix/tests/posix_getrlimit.phpt create mode 100644 ext/posix/tests/posix_initgroups.phpt create mode 100644 ext/posix/tests/posix_isatty.phpt create mode 100644 ext/posix/tests/posix_mknod.phpt (limited to 'ext/posix') diff --git a/ext/posix/tests/posix_getcwd.phpt b/ext/posix/tests/posix_getcwd.phpt new file mode 100644 index 0000000000..3e60c44f72 --- /dev/null +++ b/ext/posix/tests/posix_getcwd.phpt @@ -0,0 +1,16 @@ +--TEST-- +posix_getcwd(): Basic tests +--SKIP-- + +--FILE-- + +--EXPECTF-- +string(%d) "%s" + +Warning: posix_getcwd() expects exactly 0 parameters, 1 given in %s on line %d +NULL diff --git a/ext/posix/tests/posix_getgrnam.phpt b/ext/posix/tests/posix_getgrnam.phpt new file mode 100644 index 0000000000..89e60800b6 --- /dev/null +++ b/ext/posix/tests/posix_getgrnam.phpt @@ -0,0 +1,16 @@ +--TEST-- +posix_getgrnam(): Basic tests +--SKIP-- + +--FILE-- + +--EXPECT-- +bool(false) +bool(false) +bool(false) diff --git a/ext/posix/tests/posix_getpwnam.phpt b/ext/posix/tests/posix_getpwnam.phpt new file mode 100644 index 0000000000..2be9752abe --- /dev/null +++ b/ext/posix/tests/posix_getpwnam.phpt @@ -0,0 +1,16 @@ +--TEST-- +posix_getpwnam(): Basic tests +--SKIP-- + +--FILE-- + +--EXPECT-- +bool(false) +bool(false) +bool(false) diff --git a/ext/posix/tests/posix_getrlimit.phpt b/ext/posix/tests/posix_getrlimit.phpt new file mode 100644 index 0000000000..5417fe295f --- /dev/null +++ b/ext/posix/tests/posix_getrlimit.phpt @@ -0,0 +1,14 @@ +--TEST-- +posix_getrlimit(): Basic tests +--SKIP-- + +--FILE-- + +--EXPECTF-- +array(%d) { +%a +} diff --git a/ext/posix/tests/posix_initgroups.phpt b/ext/posix/tests/posix_initgroups.phpt new file mode 100644 index 0000000000..0b38449e72 --- /dev/null +++ b/ext/posix/tests/posix_initgroups.phpt @@ -0,0 +1,15 @@ +--TEST-- +posix_initgroups(): Basic tests +--SKIP-- + +--FILE-- + +--EXPECTF-- +Warning: posix_initgroups() expects parameter 2 to be long, string given in %s on line %d +bool(false) +bool(false) diff --git a/ext/posix/tests/posix_isatty.phpt b/ext/posix/tests/posix_isatty.phpt new file mode 100644 index 0000000000..b0b86e10a0 --- /dev/null +++ b/ext/posix/tests/posix_isatty.phpt @@ -0,0 +1,12 @@ +--TEST-- +posix_isatty(): Basic tests +--SKIP-- + +--FILE-- + +--EXPECTF-- +bool(%s) diff --git a/ext/posix/tests/posix_mknod.phpt b/ext/posix/tests/posix_mknod.phpt new file mode 100644 index 0000000000..70c7c28de6 --- /dev/null +++ b/ext/posix/tests/posix_mknod.phpt @@ -0,0 +1,12 @@ +--TEST-- +posix_mknod(): Basic tests +--SKIP-- + +--FILE-- + +--EXPECT-- +bool(false) -- cgit v1.2.1