diff options
author | Gurusamy Sarathy <gsar@cpan.org> | 1999-02-12 10:31:17 +0000 |
---|---|---|
committer | Gurusamy Sarathy <gsar@cpan.org> | 1999-02-12 10:31:17 +0000 |
commit | 93430cb427caeba01ba89b008008b46159a7c165 (patch) | |
tree | 79da2af6fc75ad63ced4cd14b2bd7ba53dff2863 /t/comp | |
parent | 9451cbc956e1f0c870763d52e6eb6cf210e91caf (diff) | |
download | perl-93430cb427caeba01ba89b008008b46159a7c165.tar.gz |
make testsuite somewhat location independent
p4raw-id: //depot/perl@2891
Diffstat (limited to 't/comp')
-rwxr-xr-x | t/comp/colon.t | 2 | ||||
-rwxr-xr-x | t/comp/cpp.t | 2 | ||||
-rwxr-xr-x | t/comp/proto.t | 2 | ||||
-rwxr-xr-x | t/comp/require.t | 2 | ||||
-rwxr-xr-x | t/comp/use.t | 2 |
5 files changed, 5 insertions, 5 deletions
diff --git a/t/comp/colon.t b/t/comp/colon.t index d2c64fe4c5..dee5330ff2 100755 --- a/t/comp/colon.t +++ b/t/comp/colon.t @@ -9,7 +9,7 @@ BEGIN { chdir 't' if -d 't'; - @INC = '../lib'; + unshift @INC, '../lib'; } use strict; diff --git a/t/comp/cpp.t b/t/comp/cpp.t index 86e7359524..f6450a5f75 100755 --- a/t/comp/cpp.t +++ b/t/comp/cpp.t @@ -4,7 +4,7 @@ BEGIN { chdir 't' if -d 't'; - @INC = '../lib'; + unshift @INC, '../lib'; } use Config; diff --git a/t/comp/proto.t b/t/comp/proto.t index 6a59107ce7..084e0ab715 100755 --- a/t/comp/proto.t +++ b/t/comp/proto.t @@ -11,7 +11,7 @@ BEGIN { chdir 't' if -d 't'; - @INC = '../lib'; + unshift @INC, '../lib'; } use strict; diff --git a/t/comp/require.t b/t/comp/require.t index 5c41f5ccec..fc72c079b0 100755 --- a/t/comp/require.t +++ b/t/comp/require.t @@ -2,7 +2,7 @@ BEGIN { chdir 't' if -d 't'; - @INC = ('.', '../lib'); + unshift @INC, ('.', '../lib'); } # don't make this lexical diff --git a/t/comp/use.t b/t/comp/use.t index a6ce2a4d56..1099547393 100755 --- a/t/comp/use.t +++ b/t/comp/use.t @@ -2,7 +2,7 @@ BEGIN { chdir 't' if -d 't'; - @INC = '../lib'; + unshift @INC, '../lib'; } print "1..14\n"; |