From: George Greer Date: Thu, 15 Sep 2011 03:46:44 +0000 (-0400) Subject: Use test.pl miniperl check rather than by-hand in t/io/shm.t X-Git-Tag: v5.15.3~96 X-Git-Url: https://perl5.git.perl.org/perl5.git/commitdiff_plain/877c86f70c562bc8c090bb55c3d7bb7ee1cc0b90?hp=8d646433865d105d3ca0f95dd6593fe343e37aa2 Use test.pl miniperl check rather than by-hand in t/io/shm.t Doing the miniperl check by hand didn't exit() so the test script would die as soon as it got down to the "use IPC::SysV" line. --- diff --git a/t/io/shm.t b/t/io/shm.t index e34be50..520f427 100644 --- a/t/io/shm.t +++ b/t/io/shm.t @@ -26,9 +26,7 @@ BEGIN { if ($ENV{'PERL_CORE'} && $Config{'extensions'} !~ m[\bIPC/SysV\b]) { plan(skip_all => 'IPC::SysV was not built'); } - unless(defined &DynaLoader::boot_DynaLoader) { # miniperl - plan(skip_all => 'miniperl'); - } + skip_all_if_miniperl(); if ($Config{'d_shm'} ne 'define') { plan(skip_all => '$Config{d_shm} undefined'); }