Test: /ext/snmp/tests/snmpset.phpt - Version 7.0.15    

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

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