summaryrefslogtreecommitdiff
path: root/t/lib/thread.t
diff options
context:
space:
mode:
Diffstat (limited to 't/lib/thread.t')
-rw-r--r--t/lib/thread.t6
1 files changed, 3 insertions, 3 deletions
diff --git a/t/lib/thread.t b/t/lib/thread.t
index 798adc12be..9810ae48d9 100644
--- a/t/lib/thread.t
+++ b/t/lib/thread.t
@@ -1,10 +1,10 @@
-#!perl
+#!./perl
BEGIN {
chdir 't' if -d 't';
@INC = '../lib';
require Config; import Config;
- if ($Config{'ccflags'} !~ /-DUSE_THREADS\b/) {
+ if ($Config{'ccflags'} !~ /USE_THREADS\b/) {
print "1..0\n";
exit 0;
}
@@ -49,6 +49,6 @@ join $t;
# test that sleep lets other thread run
$t = new Thread \&islocked,"ok 8\n";
-sleep 2;
+sleep 6;
print "ok 9";
join $t;