--TEST-- Test scandir() function : error conditions - Incorrect number of args --FILE-- ===DONE=== --CLEAN-- --EXPECTF-- *** Testing scandir() : error conditions *** -- Testing scandir() function with Zero arguments -- Warning: scandir() expects at least 1 parameter, 0 given in %s on line %d NULL -- Testing scandir() function with more than expected no. of arguments -- Warning: scandir() expects at most 3 parameters, 4 given in %s on line %d NULL ===DONE===