Skip to content

Commit cda14b9

Browse files
DragonBedsp
authored andcommitted
Adding a test for ext/posix/tests/posix_getegid_basic.phpt
1 parent 17c0ff1 commit cda14b9

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
--TEST--
2+
Test function posix_getegid() by calling it with its expected arguments
3+
--CREDITS--
4+
Michelangelo van Dam [email protected]
5+
#PHPTestFest Dutch PHP Conference 2012
6+
--SKIPIF--
7+
<?php
8+
if(!extension_loaded("posix")) print "skip - POSIX extension not loaded";
9+
?>
10+
--FILE--
11+
<?php
12+
var_dump(posix_getegid());
13+
?>
14+
--EXPECTF--
15+
int(%d)

0 commit comments

Comments
 (0)