summaryrefslogtreecommitdiff
path: root/t/lib/selfloader.t
diff options
context:
space:
mode:
Diffstat (limited to 't/lib/selfloader.t')
-rwxr-xr-xt/lib/selfloader.t3
1 files changed, 2 insertions, 1 deletions
diff --git a/t/lib/selfloader.t b/t/lib/selfloader.t
index 75d6561f9b..6b9c244b7e 100755
--- a/t/lib/selfloader.t
+++ b/t/lib/selfloader.t
@@ -3,7 +3,8 @@
BEGIN {
chdir 't' if -d 't';
$dir = "self-$$";
- unshift @INC, ("./$dir", "../lib");
+ @INC = $dir;
+ push @INC, '../lib';
print "1..19\n";