Test: /ext/snmp/tests/snmp2_get.phpt - Version 7.1.2    

There are 3 different diffs reported by users for this test.

Count Diff
234 (99%)
014+
015+ Warning: snmp2_get(): No response from 127.0.0.1 in %s/snmp2_get.php on line 16
016+ bool(false)
014- %unicode|string%(%d) "%s"
016- array(1) {
017- ["%s"]=>
018- %unicode|string%(%d) "%s"
019- }
018+
019+ Warning: snmp2_get(): No response from 127.0.0.1 in %s/snmp2_get.php on line 18
020+ bool(false)
021- array(2) {
022- ["%s"]=>
023- %unicode|string%(%d) "%s"
024- ["%s"]=>
025- %unicode|string%(%d) "%d"
026- }
022+
023+ Warning: snmp2_get(): No response from 127.0.0.1 in %s/snmp2_get.php on line 20
024+ bool(false)
041+ Warning: snmp2_get(): No response from 127.0.0.1 in %s/snmp2_get.php on line 32
043- Warning: snmp2_get(): Error in packet at 'SNMPv2-MIB::sysDescr.110': No Such Instance currently exists at this OID in %s on line %d
045+ Warning: snmp2_get(): No response from 127.0.0.1 in %s/snmp2_get.php on line 34
047- Warning: snmp2_get(): Error in packet at 'SNMPv2-MIB::sysDescr.110': No Such Instance currently exists at this OID in %s on line %d
049+ Warning: snmp2_get(): No response from 127.0.0.1 in %s/snmp2_get.php on line 36
050+ bool(false)
051- Warning: snmp2_get(): Error in packet at 'SNMPv2-MIB::sysUpTime.220': No Such Instance currently exists at this OID in %s on line %d
052- array(1) {
053- ["%s"]=>
054- %unicode|string%(%d) "%s"
055- }
2 (1%)
001+ ** ERROR: process timed out **
001- Checking error handling
002-
003- Warning: snmp2_get() expects parameter 4 to be integer,%s given in %s on line %d
004- bool(false)
005-
006- Warning: snmp2_get() expects parameter 5 to be integer,%s given in %s on line %d
007- bool(false)
008- Empty OID array
009-
010- Warning: snmp2_get(): Got empty OID array in %s on line %d
011- bool(false)
012- Checking working
013- Single OID
014- %unicode|string%(%d) "%s"
015- Single OID in array
016- array(1) {
017- ["%s"]=>
018- %unicode|string%(%d) "%s"
019- }
020- Multiple OID
021- array(2) {
022- ["%s"]=>
023- %unicode|string%(%d) "%s"
024- ["%s"]=>
025- %unicode|string%(%d) "%d"
026- }
027- More error handling
028- Single OID
029-
030- Warning: snmp2_get(): Invalid object identifier: .1.3.6.1.2..1.1.1.0 in %s on line %d
031- bool(false)
032- Single OID in array
033-
034- Warning: snmp2_get(): Invalid object identifier: .1.3.6.1.2.1...1.1.0 in %s on line %d
035- bool(false)
036- Multiple OID
037-
038- Warning: snmp2_get(): Invalid object identifier: .1.3.6.1.2.1...1.1.0 in %s on line %d
039- bool(false)
040- noSuchName checks
041- Single OID
042-
043- Warning: snmp2_get(): Error in packet at 'SNMPv2-MIB::sysDescr.110': No Such Instance currently exists at this OID in %s on line %d
044- bool(false)
045- Single OID in array
046-
047- Warning: snmp2_get(): Error in packet at 'SNMPv2-MIB::sysDescr.110': No Such Instance currently exists at this OID in %s on line %d
048- bool(false)
049- Multiple OID
050-
051- Warning: snmp2_get(): Error in packet at 'SNMPv2-MIB::sysUpTime.220': No Such Instance currently exists at this OID in %s on line %d
052- array(1) {
053- ["%s"]=>
054- %unicode|string%(%d) "%s"
055- }
1 (0%)