This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Skip eintr.t on VMS.
authorCraig A. Berry <craigberry@mac.com>
Sun, 28 Nov 2010 15:59:25 +0000 (09:59 -0600)
committerCraig A. Berry <craigberry@mac.com>
Sun, 28 Nov 2010 15:59:25 +0000 (09:59 -0600)
It's doing select() on a pipe, but only sockets work with select(),
and the read() on a pipe is not interruptible by an alarm.  That's
probably because our pipe implementation is doing mailbox reads at
AST level but the alarm signal is also an AST and can't interrupt
another AST at the same mode.

t/io/eintr.t

index 3b6b0a4..28983c3 100644 (file)
@@ -40,6 +40,11 @@ if (exists $ENV{PERLIO} && $ENV{PERLIO} =~ /stdio/  ) {
        exit 0;
 }
 
+if ($^O eq 'VMS') {
+       skip_all('various portability issues');
+       exit 0;
+}
+
 my ($in, $out, $st, $sigst, $buf);
 
 plan(tests => 10);