--TEST-- Function snmpwalk --CREDITS-- Olivier Doucet Olivier Doucet Boris Lytochkin --SKIPIF-- --FILE-- --EXPECTF-- Checking error handling Warning: snmpwalk() expects parameter 4 to be long, %s given in %s on line %d bool(false) Warning: snmpwalk() 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: snmpwalk(): Multi OID walks are not supported! in %s on line %d bool(false) Multiple OID with wrong OID Warning: snmpwalk(): Multi OID walks are not supported! in %s on line %d bool(false) Warning: snmpwalk(): Multi OID walks are not supported! in %s on line %d bool(false) Single nonexisting OID Warning: snmpwalk(): Error in packet at '%s': (noSuchName) There is no such variable name in this MIB. in %s on line %d bool(false)