Skip to content

Commit

Permalink
Silence one "non-numeric" warning
Browse files Browse the repository at this point in the history
As suggested by Tom Hukins.

For: #18244
  • Loading branch information
jkeenan committed Jun 10, 2021
1 parent f6111fa commit 8197dda
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions ext/POSIX/t/posix.t
Expand Up @@ -114,8 +114,9 @@ SKIP: {
}
sleep 1;

$todo = 1 if ($^O eq 'freebsd' && $Config{osvers} < 8)
|| ($^O eq 'darwin' && $Config{osvers} < '6.6');
my ($major, $minor) = $Config{osvers} =~ / (\d+) \. (\d+) .* /x;
$todo = 1 if ($^O eq 'freebsd' && $major < 8)
|| ($^O eq 'darwin' && "${major}.${minor}" < '6.6');
printf "%s 11 - masked SIGINT received %s\n",
$sigint_called ? "ok" : "not ok",
$todo ? $why_todo : '';
Expand Down

0 comments on commit 8197dda

Please sign in to comment.