Annotation of embedaddon/php/ext/snmp/tests/bug64159.phpt, revision 1.1
1.1 ! misho 1: --TEST--
! 2: Bug #64159: Truncated snmpget
! 3: --CREDITS--
! 4: Boris Lytochkin
! 5: --SKIPIF--
! 6: <?php
! 7: require_once(dirname(__FILE__).'/skipif.inc');
! 8: ?>
! 9: --ENV--
! 10: MIBS=noneXistent
! 11: --FILE--
! 12: <?php
! 13: require_once(dirname(__FILE__).'/snmp_include.inc');
! 14:
! 15: snmp_set_quick_print(false);
! 16: snmp_set_valueretrieval(SNMP_VALUE_LIBRARY);
! 17:
! 18: var_dump(("ab8283f948419b2d24d22f44a80b17d3" === md5(snmpget($hostname, $community, '.1.3.6.1.4.1.2021.8.1.101.1'))));
! 19:
! 20: ?>
! 21: --EXPECTF--
! 22: MIB search path: %s
! 23: Cannot find module (noneXistent): At line %d in (%s)
! 24: bool(true)
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>