Re: ext/snmp unit tests
| From: | Nuno Lopes | Date: | Sun, 03 Apr 2011 21:22:14 +0000 |
| Subject: | Re: ext/snmp unit tests | ||
| References: | 1 2 3 4 5 | Groups: | php.qa |
| Request: | Send a blank email to php-qa+get-65775@lists.php.net to get a copy of this message | ||
[nlopess@nex1 PHP_HEAD]$ ../PHP_5_3/sapi/cli/php ext/snmp/tests/snmp_getvalue.php
Get with SNMP_VALUE_LIBRARY
string(86) "STRING: Linux nex1.php.net 2.6.18-194.32.1.el5 #1 SMP Wed Jan 5 17:53:09 EST 2011 i686"
Get with SNMP_VALUE_PLAIN
string(78) "Linux nex1.php.net 2.6.18-194.32.1.el5 #1 SMP Wed Jan 5 17:53:09 EST 2011 i686"
Get with SNMP_VALUE_OBJECT
object
int(4)
string(78) "Linux nex1.php.net 2.6.18-194.32.1.el5 #1 SMP Wed Jan 5 17:53:09 EST 2011 i686"
Check parsing of different OID types
int(7788)
----- Original Message -----
Nuno, thanks for debug information. Can you run this particular test on 5.3 branch and show results? It does not require any changes I made in trunk. Just to be sure that it is a SNMP library error. On Mon, Mar 21, 2011 at 9:49 PM, Nuno Lopes <nlopess@php.net> wrote:Here's a GDB trace, which should help you. Apparently it's a bug in the snmp lib. I've zero knowledge about this lib, though. Let me know if you need more info.-- Boris