diff options
author | michelangelo <dragonbe+github@gmail.com> | 2012-06-09 16:07:11 +0000 |
---|---|---|
committer | David Soria Parra <dsp@php.net> | 2012-06-10 17:07:49 +0400 |
commit | cda14b995c155748f97f6253ff8e2113e3f3e174 (patch) | |
tree | 96a0a178608d81b890b6ebe98b5e010f52b9230d | |
parent | 17c0ff11949f81c5fb5b32f6f64b3e8ad4063aeb (diff) | |
download | php-git-cda14b995c155748f97f6253ff8e2113e3f3e174.tar.gz |
Adding a test for ext/posix/tests/posix_getegid_basic.phpt
-rw-r--r-- | ext/posix/tests/posix_getegid_basic.phpt | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/ext/posix/tests/posix_getegid_basic.phpt b/ext/posix/tests/posix_getegid_basic.phpt new file mode 100644 index 0000000000..d0016f497f --- /dev/null +++ b/ext/posix/tests/posix_getegid_basic.phpt @@ -0,0 +1,15 @@ +--TEST-- +Test function posix_getegid() by calling it with its expected arguments +--CREDITS-- +Michelangelo van Dam dragonbe@gmail.com +#PHPTestFest Dutch PHP Conference 2012 +--SKIPIF-- +<?php + if(!extension_loaded("posix")) print "skip - POSIX extension not loaded"; +?> +--FILE-- +<?php +var_dump(posix_getegid()); +?> +--EXPECTF-- +int(%d) |