Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Extra test for easier failure analysis.
  • Loading branch information
jnthn committed Sep 4, 2015
1 parent ea67c37 commit 777fc21
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion S02-magicals/KERNEL.t
Expand Up @@ -2,7 +2,7 @@ use v6;

use Test;

plan 39;
plan 40;

# $?KERNEL.name is the kernel we were compiled in.
#?rakudo skip 'unimpl $?KERNEL RT #124624'
Expand Down Expand Up @@ -63,6 +63,7 @@ isa-ok $*KERNEL.bits, Int;

my $hup = $*KERNEL.signal(SIGHUP);
isa-ok $hup, Int, 'did we get an Int back';
ok defined($hup), 'was the Int defined';
isnt $hup, 0, "no signal should come out as 0";
is $*KERNEL.signal("SIGHUP"), $hup, "also ok as string?";
is $*KERNEL.signal("HUP"), $hup, "also ok as partial string?";
Expand Down

0 comments on commit 777fc21

Please sign in to comment.