diff options
author | Shoichi Kaji <skaji@cpan.org> | 2022-04-24 10:38:50 +0900 |
---|---|---|
committer | Olaf Alders <olaf@wundersolutions.com> | 2022-04-24 08:10:34 -0400 |
commit | a75a5f8e237be8be1e6d8c3ae5bb72c6ff4663d3 (patch) | |
tree | 8617a1a5939830807f268e45d372dc328d1cbb8c | |
parent | 0403816f5feaf2425d3f82484b360d26e4d07e3b (diff) | |
download | uri-a75a5f8e237be8be1e6d8c3ae5bb72c6ff4663d3.tar.gz |
fix t/storable.t
-rw-r--r-- | t/storable.t | 5 |
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'); |