summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorShoichi Kaji <skaji@cpan.org>2022-04-24 10:38:50 +0900
committerOlaf Alders <olaf@wundersolutions.com>2022-04-24 08:10:34 -0400
commita75a5f8e237be8be1e6d8c3ae5bb72c6ff4663d3 (patch)
tree8617a1a5939830807f268e45d372dc328d1cbb8c
parent0403816f5feaf2425d3f82484b360d26e4d07e3b (diff)
downloaduri-a75a5f8e237be8be1e6d8c3ae5bb72c6ff4663d3.tar.gz
fix t/storable.t
-rw-r--r--t/storable.t5
1 files changed, 3 insertions, 2 deletions
diff --git a/t/storable.t b/t/storable.t
index d56c7c5..20271e9 100644
--- a/t/storable.t
+++ b/t/storable.t
@@ -4,7 +4,8 @@ use warnings;
use Test::Needs 'Storable';
print "1..3\n";
-system($^X, "-Iblib/lib", "t/storable-test.pl", "store");
-system($^X, "-Iblib/lib", "t/storable-test.pl", "retrieve");
+my $inc = -d "blib/lib" ? "blib/lib" : "lib";
+system($^X, "-I$inc", "t/storable-test.pl", "store");
+system($^X, "-I$inc", "t/storable-test.pl", "retrieve");
unlink('urls.sto');