As we're not passing over (or copying in) a NUL, don't need that extra
[p5sagit/p5-mst-13.2.git] / ext / threads / t / thread.t
index d29d523..6020807 100644 (file)
@@ -171,11 +171,11 @@ package main;
 
 # bugid #24165
 
-run_perl(prog => 'use threads 1.36;
-                  sub a{threads->create(shift)} $t = a sub{};
-                  $t->tid; $t->join; $t->tid',
-                  nolib => ($ENV{PERL_CORE}) ? 0 : 1,
-                  switches => ($ENV{PERL_CORE}) ? [] : [ '-Mblib' ]);
+run_perl(prog => 'use threads 1.58;' .
+                 'sub a{threads->create(shift)} $t = a sub{};' .
+                 '$t->tid; $t->join; $t->tid',
+         nolib => ($ENV{PERL_CORE}) ? 0 : 1,
+         switches => ($ENV{PERL_CORE}) ? [] : [ '-Mblib' ]);
 is($?, 0, 'coredump in global destruction');
 
 # test CLONE_SKIP() functionality