diff options
Diffstat (limited to 'ext/posix/tests/posix_geteuid_basic.phpt')
-rw-r--r-- | ext/posix/tests/posix_geteuid_basic.phpt | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/ext/posix/tests/posix_geteuid_basic.phpt b/ext/posix/tests/posix_geteuid_basic.phpt new file mode 100644 index 0000000..76e9028 --- /dev/null +++ b/ext/posix/tests/posix_geteuid_basic.phpt @@ -0,0 +1,16 @@ +--TEST-- +Test function posix_geteuid() by calling it with its expected arguments +--CREDITS-- +Marco Fabbri mrfabbri@gmail.com +Francesco Fullone ff@ideato.it +#PHPTestFest Cesena Italia on 2009-06-20 +--SKIPIF-- +<?php + if(!extension_loaded("posix")) print "skip - POSIX extension not loaded"; +?> +--FILE-- +<?php +var_dump(posix_geteuid()); +?> +--EXPECTF-- +int(%d) |