summaryrefslogtreecommitdiff
path: root/t/op/threads-dirh.t
diff options
context:
space:
mode:
Diffstat (limited to 't/op/threads-dirh.t')
-rw-r--r--t/op/threads-dirh.t16
1 files changed, 8 insertions, 8 deletions
diff --git a/t/op/threads-dirh.t b/t/op/threads-dirh.t
index e1d5c996ad..82d90768ab 100644
--- a/t/op/threads-dirh.t
+++ b/t/op/threads-dirh.t
@@ -4,21 +4,21 @@
BEGIN {
chdir 't' if -d 't';
- @INC = '../lib';
require './test.pl';
+ set_up_inc('../lib');
$| = 1;
-
require Config;
- skip_all_without_config('useithreads');
- skip_all_if_miniperl("no dynamic loading on miniperl, no threads");
-
- plan(6);
}
+skip_all_without_config('useithreads');
+skip_all_if_miniperl("no dynamic loading on miniperl, no threads");
+
+plan(6);
+
use strict;
use warnings;
-use threads;
-use threads::shared;
+eval q/use threads/;
+eval q/use threads::shared/;
use File::Path;
use File::Spec::Functions qw 'updir catdir';
use Cwd 'getcwd';