summaryrefslogtreecommitdiff
path: root/ext/threads/t/exit.t
diff options
context:
space:
mode:
Diffstat (limited to 'ext/threads/t/exit.t')
-rw-r--r--ext/threads/t/exit.t10
1 files changed, 5 insertions, 5 deletions
diff --git a/ext/threads/t/exit.t b/ext/threads/t/exit.t
index 8eb54c05ac..6c3043b937 100644
--- a/ext/threads/t/exit.t
+++ b/ext/threads/t/exit.t
@@ -56,7 +56,7 @@ my $rc = $thr->join();
ok(! defined($rc), 'Exited: threads->exit()');
-run_perl(prog => 'use threads 1.49;' .
+run_perl(prog => 'use threads 1.51;' .
'threads->exit(86);' .
'exit(99);',
nolib => ($ENV{PERL_CORE}) ? 0 : 1,
@@ -104,7 +104,7 @@ $rc = $thr->join();
ok(! defined($rc), 'Exited: $thr->set_thread_exit_only');
-run_perl(prog => 'use threads 1.49 qw(exit thread_only);' .
+run_perl(prog => 'use threads 1.51 qw(exit thread_only);' .
'threads->create(sub { exit(99); })->join();' .
'exit(86);',
nolib => ($ENV{PERL_CORE}) ? 0 : 1,
@@ -112,7 +112,7 @@ run_perl(prog => 'use threads 1.49 qw(exit thread_only);' .
is($?>>8, 86, "'use threads 'exit' => 'thread_only'");
-my $out = run_perl(prog => 'use threads 1.49;' .
+my $out = run_perl(prog => 'use threads 1.51;' .
'threads->create(sub {' .
' exit(99);' .
'})->join();' .
@@ -124,7 +124,7 @@ is($?>>8, 99, "exit(status) in thread");
like($out, '1 finished and unjoined', "exit(status) in thread");
-$out = run_perl(prog => 'use threads 1.49 qw(exit thread_only);' .
+$out = run_perl(prog => 'use threads 1.51 qw(exit thread_only);' .
'threads->create(sub {' .
' threads->set_thread_exit_only(0);' .
' exit(99);' .
@@ -137,7 +137,7 @@ is($?>>8, 99, "set_thread_exit_only(0)");
like($out, '1 finished and unjoined', "set_thread_exit_only(0)");
-run_perl(prog => 'use threads 1.49;' .
+run_perl(prog => 'use threads 1.51;' .
'threads->create(sub {' .
' $SIG{__WARN__} = sub { exit(99); };' .
' die();' .