aerohive version support higher as 9 (#421)

* allow aerohive hiveos version numbers above 9
* aerohive is now owned by extreme
This commit is contained in:
nick n
2021-06-04 18:38:13 +02:00
committed by GitHub
parent fa206be639
commit 0b86645a63
4 changed files with 11 additions and 5 deletions

View File

@@ -116,12 +116,16 @@ sub os : Tests(2) {
is($test->{info}->os(), 'hiveos', q(OS returns 'hiveos'));
}
sub os_ver : Tests(3) {
sub os_ver : Tests(4) {
my $test = shift;
can_ok($test->{info}, 'os_ver');
is($test->{info}->os_ver(), '6.2r1', q(OS version is expected value));
$test->{info}{_description} = 'AP250, HiveOS 10.0r8 build-236132';
is($test->{info}->os_ver(),
'10.0r8', q(10.0r8 is expected os version));
$test->{info}->clear_cache();
is($test->{info}->os_ver(), undef, q(No description returns undef os_ver));
}