Skip to content

Commit

Permalink
we don't actually care whether we pick a family or an OS for this test
Browse files Browse the repository at this point in the history
  • Loading branch information
DrHyde committed Apr 21, 2022
1 parent 3160259 commit 7ae6af5
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
1.91 2022-04-21

- Fix tests for platforms where the OS is detected as something that is
a family, but not as anything more specific, such as Fedora Linux

1.90 2022-04-20

- Matches are now case-insensitive
Expand Down
2 changes: 1 addition & 1 deletion lib/Devel/CheckOS.pm
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ use File::Spec;

use vars qw(@ISA @EXPORT_OK %EXPORT_TAGS %OS_ALIASES);

our $VERSION = '1.90';
our $VERSION = '1.91';

@ISA = qw(Exporter);
@EXPORT_OK = qw(
Expand Down
2 changes: 1 addition & 1 deletion t/case-insensitive.t
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ done_testing;

sub find_platform {
foreach my $platform (list_platforms()) {
if(os_is($platform) && scalar(my @temp = list_family_members($platform)) == 0) {
if(os_is($platform)) {
return $platform;
}
}
Expand Down

0 comments on commit 7ae6af5

Please sign in to comment.