summaryrefslogtreecommitdiff
path: root/ext/Digest/SHA/t/6-dump-load.t
diff options
context:
space:
mode:
authorSteve Peters <steve@fisharerojo.org>2006-01-09 14:27:07 +0000
committerSteve Peters <steve@fisharerojo.org>2006-01-09 14:27:07 +0000
commit41c686de0da47eeb5df94342ffc739979e9aa57d (patch)
tree8a3987ed2f4a9b8efcd4161197dfa1c9dd03b817 /ext/Digest/SHA/t/6-dump-load.t
parent33fb14dcecfb8ef90b19a0ecdf4894a1a64e0771 (diff)
downloadperl-41c686de0da47eeb5df94342ffc739979e9aa57d.tar.gz
Added standard core header to test cases for Digest::SHA
p4raw-id: //depot/perl@26755
Diffstat (limited to 'ext/Digest/SHA/t/6-dump-load.t')
-rw-r--r--ext/Digest/SHA/t/6-dump-load.t7
1 files changed, 7 insertions, 0 deletions
diff --git a/ext/Digest/SHA/t/6-dump-load.t b/ext/Digest/SHA/t/6-dump-load.t
index c369ac18e2..07d4774e06 100644
--- a/ext/Digest/SHA/t/6-dump-load.t
+++ b/ext/Digest/SHA/t/6-dump-load.t
@@ -5,6 +5,13 @@ use Digest::SHA qw(sha384_hex sha512_hex);
use File::Basename qw(dirname);
use File::Spec;
+BEGIN {
+ if ($ENV{PERL_CORE}) {
+ chdir 't' if -d 't';
+ @INC = '../lib';
+ }
+}
+
my(@sharsp);
BEGIN {