summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Soria Parra <dsp@php.net>2012-06-10 13:08:02 (GMT)
committerDavid Soria Parra <dsp@php.net>2012-06-10 13:08:02 (GMT)
commitb9babd22e07b069a69ac2faae9644532ad4a1a46 (patch)
tree59839211e35633c0f1d2be152772265100b69c47
parent503358c1797e0f7b05fb49f22dd44bc7f517069f (diff)
parentcda14b995c155748f97f6253ff8e2113e3f3e174 (diff)
downloadphp-b9babd22e07b069a69ac2faae9644532ad4a1a46.tar.gz
Merge branch 'PHP-5.3' into PHP-5.4
By Stanislav Malyshev (1) and michelangelo (1) * PHP-5.3: Adding a test for ext/posix/tests/posix_getegid_basic.phpt typo
-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)