summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormichelangelo <dragonbe+github@gmail.com>2012-06-09 16:07:11 (GMT)
committerDavid Soria Parra <dsp@php.net>2012-06-10 13:07:49 (GMT)
commitcda14b995c155748f97f6253ff8e2113e3f3e174 (patch)
tree96a0a178608d81b890b6ebe98b5e010f52b9230d
parent17c0ff11949f81c5fb5b32f6f64b3e8ad4063aeb (diff)
downloadphp-cda14b995c155748f97f6253ff8e2113e3f3e174.tar.gz
Adding a test for ext/posix/tests/posix_getegid_basic.phpt
-rw-r--r--ext/posix/tests/posix_getegid_basic.phpt15
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 0000000..d0016f4
--- /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)