| 1 |
Description: use installed file during autopkgtests |
| 2 |
Origin: vendor |
| 3 |
Forwarded: not-needed |
| 4 |
Author: gregor herrmann <[email protected]> |
| 5 |
Last-Update: 2021-01-31 |
| 6 |
|
| 7 |
--- a/t/01convert.t |
| 8 |
+++ b/t/01convert.t |
| 9 |
@@ -15,7 +15,8 @@ |
| 10 |
my $conv = Pod::POM::View::Restructured->new({namespace => "Pod::POM::View::Restructured"}); |
| 11 |
isa_ok($conv, 'Pod::POM::View::Restructured'); |
| 12 |
|
| 13 |
|
| 14 |
+my $dir = $ENV{AUTOPKGTEST_TMP} ? '/usr/share/perl5' : 'lib'; |
| 15 |
+my $rv = $conv->convert_file("$dir/Pod/POM/View/Restructured.pm"); |
| 16 |
|
| 17 |
ok($rv); |
| 18 |
|