Subject: | Clone fails tests on perl 5.25.11 and newer |
Newer perls (5.26 and above) are removing '.' from @INC. this is causing a few failing tests. Here's a patch to fix them:
Subject: | Clone.patch |
diff --git a/t/04tie.t b/t/04tie.t
index 6fe1d27..02b931e 100755
--- a/t/04tie.t
+++ b/t/04tie.t
@@ -17,8 +17,8 @@ print "ok 1\n";
my $test = 2;
-require 't/dump.pl';
-require 't/tied.pl';
+require './t/dump.pl';
+require './t/tied.pl';
my ($a, @a, %a);
tie $a, TIED_SCALAR;
diff --git a/t/dclone.t b/t/dclone.t
index 0ffae19..8b62f68 100755
--- a/t/dclone.t
+++ b/t/dclone.t
@@ -55,7 +55,7 @@
# Baseline for first beta release.
#
-require 't/dump.pl';
+require './t/dump.pl';
# use Storable qw(dclone);
use Clone qw(clone);
diff --git a/t/tied.pl b/t/tied.pl
index 61a7366..c1a942f 100755
--- a/t/tied.pl
+++ b/t/tied.pl
@@ -50,7 +50,7 @@
# Baseline for first beta release.
#
-require 't/dump.pl';
+require './t/dump.pl';
package TIED_HASH;