Browse files

Adding a test for ext/posix/tests/posix_getegid_basic.phpt

  • Loading branch information...
1 parent 17c0ff1 commit cda14b995c155748f97f6253ff8e2113e3f3e174 @DragonBe DragonBe committed with dsp Jun 9, 2012
Showing with 15 additions and 0 deletions.
  1. +15 −0 ext/posix/tests/posix_getegid_basic.phpt
View
15 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)

0 comments on commit cda14b9

Please sign in to comment.