Annotation of embedaddon/php/ext/standard/tests/file/chgrp.phpt, revision 1.1.1.1

1.1       misho       1: --TEST--
                      2: chgrp() with NULL as group name
                      3: --SKIPIF--
                      4: <?php
                      5: if(substr(PHP_OS, 0, 3) == "WIN")
                      6:   die("skip, not supported on Windows");
                      7: ?>
                      8: --FILE--
                      9: <?php
                     10: chgrp("sjhgfskhagkfdgskjfhgskfsdgfkdsajf", NULL);
                     11: echo "ALIVE\n";
                     12: ?>
                     13: --EXPECTF--
                     14: Warning: chgrp(): parameter 2 should be string or integer, null given in %schgrp.php on line 2
                     15: ALIVE

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