Annotation of embedaddon/php/ext/snmp/tests/generic_timeout_error.phpt, revision 1.1

1.1     ! misho       1: --TEST--                                 
        !             2: Generic timeout (wrong community)
        !             3: --CREDITS--
        !             4: Boris Lytochkin
        !             5: --SKIPIF--
        !             6: <?php
        !             7: require_once(dirname(__FILE__).'/skipif.inc');
        !             8: ?>
        !             9: --FILE--
        !            10: <?php
        !            11: require_once(dirname(__FILE__).'/snmp_include.inc');
        !            12: 
        !            13: //EXPECTF format is quickprint OFF
        !            14: snmp_set_quick_print(false);
        !            15: snmp_set_valueretrieval(SNMP_VALUE_PLAIN);
        !            16: 
        !            17: var_dump(snmpget($hostname, 'timeout_community_432', '.1.3.6.1.2.1.1.1.0', $timeout, $retries));
        !            18: var_dump(snmpget($hostname, 'timeout_community_432', array('.1.3.6.1.2.1.1.1.0'), $timeout, $retries));
        !            19: 
        !            20: ?>
        !            21: --EXPECTF--
        !            22: Warning: snmpget(): No response from %s in %s on line %d
        !            23: bool(false)
        !            24: 
        !            25: Warning: snmpget(): No response from %s in %s on line %d
        !            26: bool(false)
        !            27: 

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>