summaryrefslogtreecommitdiff
path: root/ext/VMS-Filespec
diff options
context:
space:
mode:
authorCraig A. Berry <craigberry@mac.com>2013-07-04 12:17:39 -0500
committerCraig A. Berry <craigberry@mac.com>2013-07-04 12:17:39 -0500
commit0d8e2021867d5bf3ab7ddfde7c85544aca2ba61e (patch)
tree3310689c5eb46dd0ab20c5a64d6b48ab1b88cfc4 /ext/VMS-Filespec
parent00cccd05a2c303575f37570737c49364e61625b9 (diff)
downloadperl-0d8e2021867d5bf3ab7ddfde7c85544aca2ba61e.tar.gz
Fix ext/VMS-Filespec/t/filespec.t after move in 2d11a7e9678a88.
Moving it caused it to fail because it expected test.pl to exist in the directory it's being run from, but that isn't the case anymore. We can now just depend on the test infrastructure to control @INC and don't need any special handling of library directories.
Diffstat (limited to 'ext/VMS-Filespec')
-rw-r--r--ext/VMS-Filespec/t/filespec.t4
1 files changed, 1 insertions, 3 deletions
diff --git a/ext/VMS-Filespec/t/filespec.t b/ext/VMS-Filespec/t/filespec.t
index b51057b0d3..f84efb3b1d 100644
--- a/ext/VMS-Filespec/t/filespec.t
+++ b/ext/VMS-Filespec/t/filespec.t
@@ -1,7 +1,5 @@
#!./perl
-BEGIN { unshift(@INC,'../lib') if -d '../lib'; }
-
use VMS::Filespec;
use File::Spec;
@@ -12,7 +10,7 @@ foreach (<DATA>) {
push(@tests,$_);
}
-require './test.pl';
+require 'test.pl';
plan(tests => scalar(2*@tests)+6);
my $vms_unix_rpt;