summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Soria Parra <dsp@php.net>2012-06-10 13:08:10 (GMT)
committerDavid Soria Parra <dsp@php.net>2012-06-10 13:08:10 (GMT)
commitff13501d33de23757d2ecd5a5ab8d23456f0b6a2 (patch)
tree81a3d0d07a92b17aac5311d9394a48d9fff0b472
parent76a26d841900ff602ad6f9450939aff55a62b5a9 (diff)
parentb9babd22e07b069a69ac2faae9644532ad4a1a46 (diff)
downloadphp-ff13501d33de23757d2ecd5a5ab8d23456f0b6a2.tar.gz
Merge branch 'PHP-5.4'
By Stanislav Malyshev (1) and michelangelo (1) * PHP-5.4: 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)