summaryrefslogtreecommitdiff
path: root/t
diff options
context:
space:
mode:
authorGurusamy Sarathy <gsar@cpan.org>1998-06-22 04:06:02 +0000
committerGurusamy Sarathy <gsar@cpan.org>1998-06-22 04:06:02 +0000
commit3149a8e4470730775216b8a4cb7dafbaae9f0572 (patch)
tree0aab466e45c730aa2f391473a401db8632775506 /t
parent84486fc677f94d602e0c12e9f6669da65cedcb13 (diff)
downloadperl-3149a8e4470730775216b8a4cb7dafbaae9f0572.tar.gz
backout change#1178 as it was dependent on an unapplied patch,
fix filespec.t to know its @INC p4raw-link: @1178 on //depot/perl: a21df721bd2b1f6f6000b965978d9b9377c04298 p4raw-id: //depot/perl@1190
Diffstat (limited to 't')
-rwxr-xr-xt/lib/filespec.t10
1 files changed, 6 insertions, 4 deletions
diff --git a/t/lib/filespec.t b/t/lib/filespec.t
index 8ba43639f9..ca22d3e12b 100755
--- a/t/lib/filespec.t
+++ b/t/lib/filespec.t
@@ -1,11 +1,13 @@
-#!/usr/bin/perl
-
-print "1..4\n";
+#!./perl
BEGIN {
- $^O = '';
+ $^O = '';
+ chdir 't' if -d 't';
+ @INC = '../lib';
}
+print "1..4\n";
+
use File::Spec;