aboutsummaryrefslogtreecommitdiff
path: root/contrib/perl5/t/base/term.t
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/perl5/t/base/term.t')
-rwxr-xr-xcontrib/perl5/t/base/term.t4
1 files changed, 2 insertions, 2 deletions
diff --git a/contrib/perl5/t/base/term.t b/contrib/perl5/t/base/term.t
index 638069482f83..818eb711a675 100755
--- a/contrib/perl5/t/base/term.t
+++ b/contrib/perl5/t/base/term.t
@@ -4,7 +4,7 @@
BEGIN {
chdir 't' if -d 't';
- unshift @INC, '../lib';
+ @INC = '../lib';
}
use Config;
@@ -51,5 +51,5 @@ else {
die "/dev/null IS NOT A CHARACTER SPECIAL FILE!!!!\n" unless -c '/dev/null';
}
-open(try, "../Configure") || (die "Can't open ../Configure.");
+open(try, "harness") || (die "Can't open harness.");
if (<try> ne '') {print "ok 7\n";} else {print "not ok 7\n";}