summaryrefslogtreecommitdiff
path: root/t/op/defins.t
diff options
context:
space:
mode:
Diffstat (limited to 't/op/defins.t')
-rwxr-xr-xt/op/defins.t3
1 files changed, 2 insertions, 1 deletions
diff --git a/t/op/defins.t b/t/op/defins.t
index 0ed61ce2fb..9e714a718b 100755
--- a/t/op/defins.t
+++ b/t/op/defins.t
@@ -6,7 +6,7 @@
BEGIN {
chdir 't' if -d 't';
- @INC = '../lib';
+ unshift @INC, '../lib';
$SIG{__WARN__} = sub { $warns++; warn $_[0] };
print "1..14\n";
}
@@ -61,6 +61,7 @@ while ($where{$seen} = <FILE>)
}
print "not " unless $seen;
print "ok 5\n";
+close FILE;
opendir(DIR,'.');
$seen = 0;