Test agent name keeps changing
This commit is contained in:
@@ -26,7 +26,7 @@ my $info = SNMP::Info->new(
|
|||||||
ok($info, 'SNMP::Info instantiated');
|
ok($info, 'SNMP::Info instantiated');
|
||||||
ok((!defined $info->error()), 'No error on initial connection');
|
ok((!defined $info->error()), 'No error on initial connection');
|
||||||
|
|
||||||
is($info->name(), '434', 'name is "new system name"');
|
like($info->name(), qr/\w+/, 'name is "new system name"');
|
||||||
is($info->class(), 'SNMP::Info::Layer3::NetSNMP', 'class is Layer3::NetSNMP');
|
is($info->class(), 'SNMP::Info::Layer3::NetSNMP', 'class is Layer3::NetSNMP');
|
||||||
|
|
||||||
done_testing;
|
done_testing;
|
||||||
|
|||||||
Reference in New Issue
Block a user