Annotation of embedaddon/php/ext/posix/tests/posix_setgid_basic.phpt, revision 1.1.1.1

1.1       misho       1: --TEST--
                      2: Test function posix_setgid() by calling it with its expected arguments
                      3: --SKIPIF--
                      4: <?php 
                      5:         if(!extension_loaded("posix")) print "skip - POSIX extension not loaded"; 
                      6: ?>
                      7: --CREDITS--
                      8: Marco Fabbri mrfabbri@gmail.com
                      9: Francesco Fullone ff@ideato.it
                     10: #PHPTestFest Cesena Italia on 2009-06-20
                     11: --FILE--
                     12: <?php
                     13: 
                     14: 
                     15: echo "*** Test by calling method or function with its expected arguments ***\n";
                     16: 
                     17: $gid = posix_getgid();
                     18: var_dump(posix_setgid( $gid ) );
                     19: 
                     20: 
                     21: ?>
                     22: ===DONE===
                     23: --EXPECTF--
                     24: *** Test by calling method or function with its expected arguments ***
                     25: bool(true)
                     26: ===DONE===
                     27:        

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>