summaryrefslogtreecommitdiff
path: root/ext/Digest/SHA/t/5-hmac-rfc2202.t
diff options
context:
space:
mode:
Diffstat (limited to 'ext/Digest/SHA/t/5-hmac-rfc2202.t')
-rw-r--r--ext/Digest/SHA/t/5-hmac-rfc2202.t7
1 files changed, 7 insertions, 0 deletions
diff --git a/ext/Digest/SHA/t/5-hmac-rfc2202.t b/ext/Digest/SHA/t/5-hmac-rfc2202.t
index 6e77f3d6bc..a3cc281ce5 100644
--- a/ext/Digest/SHA/t/5-hmac-rfc2202.t
+++ b/ext/Digest/SHA/t/5-hmac-rfc2202.t
@@ -3,6 +3,13 @@ use strict;
use integer;
use Digest::SHA qw(hmac_sha1_hex);
+BEGIN {
+ if ($ENV{PERL_CORE}) {
+ chdir 't' if -d 't';
+ @INC = '../lib';
+ }
+}
+
my(@vec);
BEGIN {