Test: /ext/snmp/tests/snmp2_set.phpt - Version 5.4.5    

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

Count Diff
96 (91%)
016+ Warning: snmp2_set(): No response from 127.0.0.1 in %s/snmp2_set.php on line 22
016- Warning: snmp2_set(): Error in packet at '%s': notWritable (That object does not support modification) in %s on line %d
019+
020+ Warning: snmpget(): No response from 127.0.0.1 in %s/snmp2_set.php on line 27
021+
022+ Warning: snmpget(): No response from 127.0.0.1 in %s/snmp2_set.php on line 30
020- bool(true)
021- bool(true)
023- bool(true)
024+
025+ Warning: snmp2_set(): No response from 127.0.0.1 in %s/snmp2_set.php on line 34
026+ bool(false)
027+
028+ Warning: snmpget(): No response from 127.0.0.1 in %s/snmp2_set.php on line 36
029+ bool(false)
030+
031+ Warning: snmp2_set(): No response from 127.0.0.1 in %s/snmp2_set.php on line 37
032+ bool(false)
033+
034+ Warning: snmpget(): No response from 127.0.0.1 in %s/snmp2_set.php on line 39
025- bool(true)
026- bool(true)
027- bool(true)
028- bool(true)
032- bool(true)
033- bool(true)
034- bool(true)
035- bool(true)
037+
038+ Warning: snmp2_set(): No response from 127.0.0.1 in %s/snmp2_set.php on line 42
039+ bool(false)
040+
041+ Warning: snmpget(): No response from 127.0.0.1 in %s/snmp2_set.php on line 44
042+ bool(false)
043+
044+ Warning: snmpget(): No response from 127.0.0.1 in %s/snmp2_set.php on line 45
045+ bool(false)
046+
047+ Warning: snmp2_set(): No response from 127.0.0.1 in %s/snmp2_set.php on line 46
048+ bool(false)
049+
050+ Warning: snmpget(): No response from 127.0.0.1 in %s/snmp2_set.php on line 48
039- bool(true)
040- bool(true)
041- bool(true)
042- bool(true)
043- bool(true)
052+
053+ Warning: snmpget(): No response from 127.0.0.1 in %s/snmp2_set.php on line 49
056+
057+ Warning: snmp2_set(): No response from 127.0.0.1 in %s/snmp2_set.php on line 52
058+ bool(false)
059+
060+ Warning: snmpget(): No response from 127.0.0.1 in %s/snmp2_set.php on line 54
061+ bool(false)
062+
063+ Warning: snmpget(): No response from 127.0.0.1 in %s/snmp2_set.php on line 55
064+ bool(false)
065+
066+ Warning: snmp2_set(): No response from 127.0.0.1 in %s/snmp2_set.php on line 56
067+ bool(false)
068+
069+ Warning: snmpget(): No response from 127.0.0.1 in %s/snmp2_set.php on line 58
071+
072+ Warning: snmpget(): No response from 127.0.0.1 in %s/snmp2_set.php on line 59
075+
076+ Warning: snmp2_set(): No response from 127.0.0.1 in %s/snmp2_set.php on line 62
077+ bool(false)
078+
079+ Warning: snmpget(): No response from 127.0.0.1 in %s/snmp2_set.php on line 64
080+ bool(false)
081+
082+ Warning: snmpget(): No response from 127.0.0.1 in %s/snmp2_set.php on line 65
083+ bool(false)
084+
085+ Warning: snmp2_set(): No response from 127.0.0.1 in %s/snmp2_set.php on line 66
086+ bool(false)
087+
088+ Warning: snmpget(): No response from 127.0.0.1 in %s/snmp2_set.php on line 68
084- Warning: snmp2_set(): Error in packet at '%s': %rnoCreation|notWritable%r (%s) in %s on line %d
090+
091+ Warning: snmpget(): No response from 127.0.0.1 in %s/snmp2_set.php on line 69
092+ bool(true)
090- Warning: snmp2_set(): Error in packet at '%s': %rnoCreation|notWritable%r (%s) in %s on line %d
098+
099+ Warning: snmpget(): No response from 127.0.0.1 in %s/snmp2_set.php on line 76
101+
102+ Warning: snmpget(): No response from 127.0.0.1 in %s/snmp2_set.php on line 77
108+
109+ Warning: snmpget(): No response from 127.0.0.1 in %s/snmp2_set.php on line 82
111+
112+ Warning: snmpget(): No response from 127.0.0.1 in %s/snmp2_set.php on line 83
118+
119+ Warning: snmpget(): No response from 127.0.0.1 in %s/snmp2_set.php on line 88
121+
122+ Warning: snmpget(): No response from 127.0.0.1 in %s/snmp2_set.php on line 89
128+
129+ Warning: snmpget(): No response from 127.0.0.1 in %s/snmp2_set.php on line 94
131+
132+ Warning: snmpget(): No response from 127.0.0.1 in %s/snmp2_set.php on line 95
138+
139+ Warning: snmpget(): No response from 127.0.0.1 in %s/snmp2_set.php on line 100
141+
142+ Warning: snmpget(): No response from 127.0.0.1 in %s/snmp2_set.php on line 101
148+
149+ Warning: snmpget(): No response from 127.0.0.1 in %s/snmp2_set.php on line 106
151+
152+ Warning: snmpget(): No response from 127.0.0.1 in %s/snmp2_set.php on line 107
156+ Warning: snmp2_set(): No response from 127.0.0.1 in %s/snmp2_set.php on line 110
158+
159+ Warning: snmpget(): No response from 127.0.0.1 in %s/snmp2_set.php on line 112
161+
162+ Warning: snmpget(): No response from 127.0.0.1 in %s/snmp2_set.php on line 113
166+ Warning: snmp2_set(): No response from 127.0.0.1 in %s/snmp2_set.php on line 116
168+
169+ Warning: snmpget(): No response from 127.0.0.1 in %s/snmp2_set.php on line 118
171+
172+ Warning: snmpget(): No response from 127.0.0.1 in %s/snmp2_set.php on line 119
178+
179+ Warning: snmpget(): No response from 127.0.0.1 in %s/snmp2_set.php on line 124
181+
182+ Warning: snmpget(): No response from 127.0.0.1 in %s/snmp2_set.php on line 125
188+
189+ Warning: snmpget(): No response from 127.0.0.1 in %s/snmp2_set.php on line 130
191+
192+ Warning: snmpget(): No response from 127.0.0.1 in %s/snmp2_set.php on line 131
7 (7%)
012+ Warning: snmp2_set(): Invalid object identifier: SNMPv2-MIB::sysLocation.0 in %s/snmp2_set.php on line 18
012- Warning: snmp2_set(): Could not add variable: OID='%s' type='q' value='%i': Bad variable type ("q") in %s on line %d
016+ Warning: snmp2_set(): No response from 127.0.0.1 in %s/snmp2_set.php on line 22
016- Warning: snmp2_set(): Error in packet at '%s': notWritable (That object does not support modification) in %s on line %d
019+
020+ Warning: snmpget(): Invalid object identifier: SNMPv2-MIB::sysContact.0 in %s/snmp2_set.php on line 27
021+
022+ Warning: snmpget(): Invalid object identifier: SNMPv2-MIB::sysContact.0 in %s/snmp2_set.php on line 30
020- bool(true)
021- bool(true)
023- bool(true)
024+
025+ Warning: snmp2_set(): Invalid object identifier: SNMPv2-MIB::sysContact.0 in %s/snmp2_set.php on line 34
026+ bool(false)
027+
028+ Warning: snmpget(): Invalid object identifier: SNMPv2-MIB::sysContact.0 in %s/snmp2_set.php on line 36
029+ bool(false)
030+
031+ Warning: snmp2_set(): Invalid object identifier: SNMPv2-MIB::sysContact.0 in %s/snmp2_set.php on line 37
032+ bool(false)
033+
034+ Warning: snmpget(): Invalid object identifier: SNMPv2-MIB::sysContact.0 in %s/snmp2_set.php on line 39
025- bool(true)
026- bool(true)
027- bool(true)
028- bool(true)
032- bool(true)
033- bool(true)
034- bool(true)
035- bool(true)
037+
038+ Warning: snmp2_set(): Invalid object identifier: SNMPv2-MIB::sysContact.0 in %s/snmp2_set.php on line 42
039+ bool(false)
040+
041+ Warning: snmpget(): Invalid object identifier: SNMPv2-MIB::sysContact.0 in %s/snmp2_set.php on line 44
042+ bool(false)
043+
044+ Warning: snmpget(): Invalid object identifier: SNMPv2-MIB::sysLocation.0 in %s/snmp2_set.php on line 45
045+ bool(false)
046+
047+ Warning: snmp2_set(): Invalid object identifier: SNMPv2-MIB::sysContact.0 in %s/snmp2_set.php on line 46
048+ bool(false)
049+
050+ Warning: snmpget(): Invalid object identifier: SNMPv2-MIB::sysContact.0 in %s/snmp2_set.php on line 48
039- bool(true)
040- bool(true)
041- bool(true)
042- bool(true)
043- bool(true)
052+
053+ Warning: snmpget(): Invalid object identifier: SNMPv2-MIB::sysLocation.0 in %s/snmp2_set.php on line 49
056+
057+ Warning: snmp2_set(): Invalid object identifier: SNMPv2-MIB::sysContact.0 in %s/snmp2_set.php on line 52
058+ bool(false)
059+
060+ Warning: snmpget(): Invalid object identifier: SNMPv2-MIB::sysContact.0 in %s/snmp2_set.php on line 54
061+ bool(false)
062+
063+ Warning: snmpget(): Invalid object identifier: SNMPv2-MIB::sysLocation.0 in %s/snmp2_set.php on line 55
064+ bool(false)
065+
066+ Warning: snmp2_set(): Invalid object identifier: SNMPv2-MIB::sysContact.0 in %s/snmp2_set.php on line 56
067+ bool(false)
068+
069+ Warning: snmpget(): Invalid object identifier: SNMPv2-MIB::sysContact.0 in %s/snmp2_set.php on line 58
071+
072+ Warning: snmpget(): Invalid object identifier: SNMPv2-MIB::sysLocation.0 in %s/snmp2_set.php on line 59
075+
076+ Warning: snmp2_set(): Invalid object identifier: SNMPv2-MIB::sysContact.0 in %s/snmp2_set.php on line 62
077+ bool(false)
078+
079+ Warning: snmpget(): Invalid object identifier: SNMPv2-MIB::sysContact.0 in %s/snmp2_set.php on line 64
080+ bool(false)
081+
082+ Warning: snmpget(): Invalid object identifier: SNMPv2-MIB::sysLocation.0 in %s/snmp2_set.php on line 65
083+ bool(false)
084+
085+ Warning: snmp2_set(): Invalid object identifier: SNMPv2-MIB::sysContact.0 in %s/snmp2_set.php on line 66
086+ bool(false)
087+
088+ Warning: snmpget(): Invalid object identifier: SNMPv2-MIB::sysContact.0 in %s/snmp2_set.php on line 68
084- Warning: snmp2_set(): Error in packet at '%s': %rnoCreation|notWritable%r (%s) in %s on line %d
090+
091+ Warning: snmpget(): Invalid object identifier: SNMPv2-MIB::sysLocation.0 in %s/snmp2_set.php on line 69
092+ bool(true)
090- Warning: snmp2_set(): Error in packet at '%s': %rnoCreation|notWritable%r (%s) in %s on line %d
096- Warning: snmp2_set(): Could not add variable: OID='%s' type='q' value='%s': Bad variable type ("q") in %s on line %d
098+
099+ Warning: snmpget(): Invalid object identifier: SNMPv2-MIB::sysContact.0 in %s/snmp2_set.php on line 76
101+
102+ Warning: snmpget(): Invalid object identifier: SNMPv2-MIB::sysLocation.0 in %s/snmp2_set.php on line 77
102- Warning: snmp2_set(): Could not add variable: OID='%s' type='w' value='%s': Bad variable type ("w") in %s on line %d
108+
109+ Warning: snmpget(): Invalid object identifier: SNMPv2-MIB::sysContact.0 in %s/snmp2_set.php on line 82
111+
112+ Warning: snmpget(): Invalid object identifier: SNMPv2-MIB::sysLocation.0 in %s/snmp2_set.php on line 83
118+
119+ Warning: snmpget(): Invalid object identifier: SNMPv2-MIB::sysContact.0 in %s/snmp2_set.php on line 88
121+
122+ Warning: snmpget(): Invalid object identifier: SNMPv2-MIB::sysLocation.0 in %s/snmp2_set.php on line 89
128+
129+ Warning: snmpget(): Invalid object identifier: SNMPv2-MIB::sysContact.0 in %s/snmp2_set.php on line 94
131+
132+ Warning: snmpget(): Invalid object identifier: SNMPv2-MIB::sysLocation.0 in %s/snmp2_set.php on line 95
138+
139+ Warning: snmpget(): Invalid object identifier: SNMPv2-MIB::sysContact.0 in %s/snmp2_set.php on line 100
141+
142+ Warning: snmpget(): Invalid object identifier: SNMPv2-MIB::sysLocation.0 in %s/snmp2_set.php on line 101
148+
149+ Warning: snmpget(): Invalid object identifier: SNMPv2-MIB::sysContact.0 in %s/snmp2_set.php on line 106
151+
152+ Warning: snmpget(): Invalid object identifier: SNMPv2-MIB::sysLocation.0 in %s/snmp2_set.php on line 107
156+ Warning: snmp2_set(): Invalid object identifier: SNMPv2-MIB::sysContact.044.55.66.77 in %s/snmp2_set.php on line 110
158+
159+ Warning: snmpget(): Invalid object identifier: SNMPv2-MIB::sysContact.0 in %s/snmp2_set.php on line 112
161+
162+ Warning: snmpget(): Invalid object identifier: SNMPv2-MIB::sysLocation.0 in %s/snmp2_set.php on line 113
166+ Warning: snmp2_set(): Invalid object identifier: SNMPv2-MIB::sysContact.0 in %s/snmp2_set.php on line 116
168+
169+ Warning: snmpget(): Invalid object identifier: SNMPv2-MIB::sysContact.0 in %s/snmp2_set.php on line 118
171+
172+ Warning: snmpget(): Invalid object identifier: SNMPv2-MIB::sysLocation.0 in %s/snmp2_set.php on line 119
176+ Warning: snmp2_set(): Invalid object identifier: SNMPv2-MIB::sysContact.0 in %s/snmp2_set.php on line 122
178+
179+ Warning: snmpget(): Invalid object identifier: SNMPv2-MIB::sysContact.0 in %s/snmp2_set.php on line 124
181+
182+ Warning: snmpget(): Invalid object identifier: SNMPv2-MIB::sysLocation.0 in %s/snmp2_set.php on line 125
186+ Warning: snmp2_set(): Invalid object identifier: SNMPv2-MIB::sysContact.0 in %s/snmp2_set.php on line 128
188+
189+ Warning: snmpget(): Invalid object identifier: SNMPv2-MIB::sysContact.0 in %s/snmp2_set.php on line 130
191+
192+ Warning: snmpget(): Invalid object identifier: SNMPv2-MIB::sysLocation.0 in %s/snmp2_set.php on line 131
1 (1%)
020+
021+ Warning: snmp2_set(): Error in packet at 'SNMPv2-MIB::sysContact.0': notWritable (That object does not support modification) in %s/snmp2_set.php on line 34
022+ bool(false)
023+ bool(false)
024+
025+ Warning: snmp2_set(): Error in packet at 'SNMPv2-MIB::sysContact.0': notWritable (That object does not support modification) in %s/snmp2_set.php on line 37
026+ bool(false)
020- bool(true)
024- Multiple OID
028+ Multiple OID
029+
030+ Warning: snmp2_set(): Error in packet at 'SNMPv2-MIB::sysContact.0': notWritable (That object does not support modification) in %s/snmp2_set.php on line 42
031+ bool(false)
032+ bool(false)
033+ bool(false)
034+
035+ Warning: snmp2_set(): Error in packet at 'SNMPv2-MIB::sysContact.0': notWritable (That object does not support modification) in %s/snmp2_set.php on line 46
036+ bool(false)
031- Multiple OID, single type & value
037- bool(true)
038+ bool(false)
039+ Multiple OID, single type & value
040+
041+ Warning: snmp2_set(): Error in packet at 'SNMPv2-MIB::sysContact.0': notWritable (That object does not support modification) in %s/snmp2_set.php on line 52
042+ bool(false)
043+ bool(false)
044+ bool(false)
045+
046+ Warning: snmp2_set(): Error in packet at 'SNMPv2-MIB::sysContact.0': notWritable (That object does not support modification) in %s/snmp2_set.php on line 56
047+ bool(false)
049+ bool(false)
050+ Multiple OID, single type, multiple value
051+
052+ Warning: snmp2_set(): Error in packet at 'SNMPv2-MIB::sysContact.0': notWritable (That object does not support modification) in %s/snmp2_set.php on line 62
053+ bool(false)
054+ bool(false)
055+ bool(false)
056+
057+ Warning: snmp2_set(): Error in packet at 'SNMPv2-MIB::sysContact.0': notWritable (That object does not support modification) in %s/snmp2_set.php on line 66
058+ bool(false)
060+ bool(false)
061+ More error handing
062+ Single OID, single type in array, single value
063+
064+ Warning: snmp2_set(): Single objid and multiple type or values are not supported in %s/snmp2_set.php on line 74
065+ bool(false)
067+ bool(false)
068+ Single OID, single type, single value in array
069+
070+ Warning: snmp2_set(): Single objid and multiple type or values are not supported in %s/snmp2_set.php on line 80
071+ bool(false)
073+ bool(false)
074+ Multiple OID, 1st wrong type
075+
076+ Warning: snmp2_set(): 'SNMPv2-MIB::sysContact.0': bogus type 'sw', should be single char, got 2 in %s/snmp2_set.php on line 86
077+ bool(false)
079+ bool(false)
080+ Multiple OID, 2nd wrong type
081+
082+ Warning: snmp2_set(): 'SNMPv2-MIB::sysLocation.0': bogus type 'sb', should be single char, got 2 in %s/snmp2_set.php on line 92
083+ bool(false)
085+ bool(false)
086+ Multiple OID, single type in array, multiple value
087+
088+ Warning: snmp2_set(): 'SNMPv2-MIB::sysLocation.0': no type set in %s/snmp2_set.php on line 98
089+ bool(false)
091+ bool(false)
092+ Multiple OID & type, singe value in array
093+
094+ Warning: snmp2_set(): 'SNMPv2-MIB::sysLocation.0': no value set in %s/snmp2_set.php on line 104
095+ bool(false)
097+ bool(false)
098+ Multiple OID, 1st bogus, single type, multiple value
099+
100+ Warning: snmp2_set(): Error in packet at 'SNMPv2-MIB::sysContact.36.55.66.77': notWritable (That object does not support modification) in %s/snmp2_set.php on line 110
101+ bool(false)
103+ bool(false)
104+ Multiple OID, 2nd bogus, single type, multiple value
105+
106+ Warning: snmp2_set(): Error in packet at 'SNMPv2-MIB::sysContact.0': notWritable (That object does not support modification) in %s/snmp2_set.php on line 116
107+ bool(false)
109+ bool(false)
110+ Multiple OID, single multiple type (1st bogus), multiple value
111+
112+ Warning: snmp2_set(): Could not add variable: OID='SNMPv2-MIB::sysContact.0' type='q' value='Root <root@localhost>0': Bad variable type ("q") in %s/snmp2_set.php on line 122
113+ bool(false)
115+ bool(false)
116+ Multiple OID, single multiple type (2nd bogus), multiple value
117+
118+ Warning: snmp2_set(): Could not add variable: OID='SNMPv2-MIB::sysLocation.0' type='w' value='Root <root@localhost>0': Bad variable type ("w") in %s/snmp2_set.php on line 128
119+ bool(false)
121+ bool(false)
038- Multiple OID, single type, multiple value
039- bool(true)
040- bool(true)
041- bool(true)
042- bool(true)
043- bool(true)
044- bool(true)
045- More error handing
046- Single OID, single type in array, single value
047-
048- Warning: snmp2_set(): Single objid and multiple type or values are not supported in %s on line %s
049- bool(false)
050- bool(true)
051- bool(true)
052- Single OID, single type, single value in array
053-
054- Warning: snmp2_set(): Single objid and multiple type or values are not supported in %s on line %s
055- bool(false)
056- bool(true)
057- bool(true)
058- Multiple OID, 1st wrong type
059-
060- Warning: snmp2_set(): '%s': bogus type 'sw', should be single char, got 2 in %s on line %s
061- bool(false)
062- bool(true)
063- bool(true)
064- Multiple OID, 2nd wrong type
065-
066- Warning: snmp2_set(): '%s': bogus type 'sb', should be single char, got 2 in %s on line %s
067- bool(false)
068- bool(true)
069- bool(true)
070- Multiple OID, single type in array, multiple value
071-
072- Warning: snmp2_set(): '%s': no type set in %s on line %d
073- bool(false)
074- bool(true)
075- bool(true)
076- Multiple OID & type, singe value in array
077-
078- Warning: snmp2_set(): '%s': no value set in %s on line %d
079- bool(false)
080- bool(true)
081- bool(true)
082- Multiple OID, 1st bogus, single type, multiple value
083-
084- Warning: snmp2_set(): Error in packet at '%s': %rnoCreation|notWritable%r (%s) in %s on line %d
085- bool(false)
086- bool(true)
087- bool(true)
088- Multiple OID, 2nd bogus, single type, multiple value
089-
090- Warning: snmp2_set(): Error in packet at '%s': %rnoCreation|notWritable%r (%s) in %s on line %d
091- bool(false)
092- bool(true)
093- bool(true)
094- Multiple OID, single multiple type (1st bogus), multiple value
095-
096- Warning: snmp2_set(): Could not add variable: OID='%s' type='q' value='%s': Bad variable type ("q") in %s on line %d
097- bool(false)
098- bool(true)
099- bool(true)
100- Multiple OID, single multiple type (2nd bogus), multiple value
101-
102- Warning: snmp2_set(): Could not add variable: OID='%s' type='w' value='%s': Bad variable type ("w") in %s on line %d
103- bool(false)
104- bool(true)
105- bool(true)
1 (1%)