This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
perl #126306: openbsd t/io/errno.t tests fail randomly
authorJarkko Hietaniemi <jhi@iki.fi>
Fri, 16 Oct 2015 23:52:30 +0000 (19:52 -0400)
committerJarkko Hietaniemi <jhi@iki.fi>
Fri, 16 Oct 2015 23:54:45 +0000 (19:54 -0400)
perl #71504 added the skip for openbsd+threads+stdio;
then commit 23705063 made -lpthread the default,
necessitating the skip even without threads.

t/io/errno.t

index 8d0f4b2..d8fc4b2 100644 (file)
@@ -28,8 +28,10 @@ for my $perlio ('perlio', 'stdio') {
 SKIP:
     for my $test_in ("test\n", "test") {
                skip("Guaranteed newline at EOF on VMS", 4) if $^O eq 'VMS' && $test_in eq 'test';
-                skip("[perl #71504] OpenBSD test failures in errno.t with ithreads and perlio", 8)
-                    if $^O eq 'openbsd' && $Config{useithreads} && $perlio eq 'stdio';
+                # perl #71504 added skip in openbsd+threads+stdio;
+                # then commit 23705063 made -lpthread the default.
+                skip("[perl #71504] OpenBSD test failures in errno.t with ithreads and perlio]; [perl #126306: openbsd t/io/errno.t tests fail randomly]", 8)
+                    if $^O eq 'openbsd' && $perlio eq 'stdio';
                my $test_in_esc = $test_in;
                $test_in_esc =~ s/\n/\\n/g;
                for my $rs_code ('', '$/=undef', '$/=\2', '$/=\1024') {