--TEST-- Function snmp2_walk --CREDITS-- Olivier Doucet Olivier Doucet Boris Lytochkin --SKIPIF-- --FILE-- --EXPECTF-- Checking error handling Warning: snmp2_walk() expects parameter 4 to be long, %s given in %s on line %d bool(false) Warning: snmp2_walk() expects parameter 5 to be long, %s given in %s on line %d bool(false) Checking working Single OID %unicode|string%(5) "array" int(%d) %unicode|string%(6) "string" %unicode|string%(6) "string" Single OID in array %unicode|string%(5) "array" %unicode|string%(6) "string" Default OID %unicode|string%(5) "array" %unicode|string%(6) "string" More error handling Single incorrect OID Warning: snmpwalk(): Invalid object identifier: %s in %s on line %d bool(false) Multiple correct OID Warning: snmp2_walk(): Multi OID walks are not supported! in %s on line %d bool(false) Multiple OID with wrong OID Warning: snmp2_walk(): Multi OID walks are not supported! in %s on line %d bool(false) Warning: snmp2_walk(): Multi OID walks are not supported! in %s on line %d bool(false) Single nonexisting OID Warning: snmp2_walk(): Error in packet at '%s': No more variables left in this MIB View (It is past the end of the MIB tree) in %s on line %d bool(false)