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

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

Count Diff
235 (99%)
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
1 (0%)
001+ ** ERROR: process timed out **
001- Check error handing
002- 4args (5 needed)
003-
004- Warning: snmp2_set() expects at least 5 parameters, 3 given in %s on line %d
005- bool(false)
006- No type & no value (timeout & retries instead)
007-
008- Warning: snmp2_set(): Bogus type '-1', should be single char, got 2 in %s on line %d
009- bool(false)
010- No value (timeout instead), retries instead of timeout
011-
012- Warning: snmp2_set(): Could not add variable: OID='%s' type='q' value='%i': Bad variable type ("q") in %s on line %d
013- bool(false)
014- Bogus OID
015-
016- Warning: snmp2_set(): Error in packet at '%s': notWritable (That object does not support modification) in %s on line %d
017- bool(false)
018- Checking working
019- Single OID
020- bool(true)
021- bool(true)
022- bool(true)
023- bool(true)
024- Multiple OID
025- bool(true)
026- bool(true)
027- bool(true)
028- bool(true)
029- bool(true)
030- bool(true)
031- Multiple OID, single type & value
032- bool(true)
033- bool(true)
034- bool(true)
035- bool(true)
036- bool(true)
037- bool(true)
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 (0%)