@@ -48,7 +48,7 @@ my $rc = $thr->join();
48
48
ok(! defined ($rc ), ' Exited: threads->exit()' );
49
49
50
50
51
- run_perl(prog => ' use threads 2.16 ;' .
51
+ run_perl(prog => ' use threads 2.21 ;' .
52
52
' threads->exit(86);' .
53
53
' exit(99);' ,
54
54
nolib => ($ENV {PERL_CORE }) ? 0 : 1,
@@ -98,7 +98,7 @@ $rc = $thr->join();
98
98
ok(! defined ($rc ), ' Exited: $thr->set_thread_exit_only' );
99
99
100
100
101
- run_perl(prog => ' use threads 2.16 qw(exit thread_only);' .
101
+ run_perl(prog => ' use threads 2.21 qw(exit thread_only);' .
102
102
' threads->create(sub { exit(99); })->join();' .
103
103
' exit(86);' ,
104
104
nolib => ($ENV {PERL_CORE }) ? 0 : 1,
@@ -108,7 +108,7 @@ run_perl(prog => 'use threads 2.16 qw(exit thread_only);' .
108
108
is($? >>8, 86, " 'use threads 'exit' => 'thread_only'" );
109
109
}
110
110
111
- my $out = run_perl(prog => ' use threads 2.16 ;' .
111
+ my $out = run_perl(prog => ' use threads 2.21 ;' .
112
112
' threads->create(sub {' .
113
113
' exit(99);' .
114
114
' });' .
@@ -124,7 +124,7 @@ my $out = run_perl(prog => 'use threads 2.16;' .
124
124
like($out , qr / 1 finished and unjoined/ , " exit(status) in thread" );
125
125
126
126
127
- $out = run_perl(prog => ' use threads 2.16 qw(exit thread_only);' .
127
+ $out = run_perl(prog => ' use threads 2.21 qw(exit thread_only);' .
128
128
' threads->create(sub {' .
129
129
' threads->set_thread_exit_only(0);' .
130
130
' exit(99);' .
@@ -141,7 +141,7 @@ $out = run_perl(prog => 'use threads 2.16 qw(exit thread_only);' .
141
141
like($out , qr / 1 finished and unjoined/ , " set_thread_exit_only(0)" );
142
142
143
143
144
- run_perl(prog => ' use threads 2.16 ;' .
144
+ run_perl(prog => ' use threads 2.21 ;' .
145
145
' threads->create(sub {' .
146
146
' $SIG{__WARN__} = sub { exit(99); };' .
147
147
' die();' .
0 commit comments