diff options
Diffstat (limited to 'ext/posix/tests/posix_mknod_basic.phpt')
-rw-r--r-- | ext/posix/tests/posix_mknod_basic.phpt | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/ext/posix/tests/posix_mknod_basic.phpt b/ext/posix/tests/posix_mknod_basic.phpt new file mode 100644 index 0000000..bc35156 --- /dev/null +++ b/ext/posix/tests/posix_mknod_basic.phpt @@ -0,0 +1,18 @@ +--TEST-- +posix_mknod(): Basic tests +--SKIPIF-- +<?php +if (!extension_loaded('posix')) die('skip - POSIX extension not loaded'); +if (!function_exists('posix_mknod')) die('skip posix_mknod() not found'); +?> +--FILE-- +<?php +echo "Basic test of POSIX posix_mknod function\n"; +var_dump(posix_mknod(NULL, NULL, NULL, NULL)); + +?> +===DONE==== +--EXPECT-- +Basic test of POSIX posix_mknod function +bool(false) +===DONE====
\ No newline at end of file |