Restore check that the MIB leaf is accessible when validating AUTOLOAD method calls
Restore corresponding test Move live snmp_connect_ip() test to 10_remote_snmplabs.t so that tests requiring Internet access are within one file
This commit is contained in:
@@ -29,6 +29,9 @@ ok((!defined $info->error()), 'No error on initial connection');
|
||||
like($info->name(), qr/\w+/, 'name is "new system name"');
|
||||
is($info->class(), 'SNMP::Info::Layer3::NetSNMP', 'class is Layer3::NetSNMP');
|
||||
|
||||
is($info->snmp_connect_ip('demo.snmplabs.com', 2, 'public'),
|
||||
1, 'Connect to demo.snmplabs.com returns 1');
|
||||
|
||||
done_testing;
|
||||
|
||||
sub _build_mibdirs {
|
||||
|
||||
Reference in New Issue
Block a user