Description: adjust path for installed package / autopkgtest
Origin: vendor
Forwarded: not-needed
Author: gregor herrmann <gregoa@debian.org>
Last-Update: 2015-08-12

--- a/t/04..pod.t
+++ b/t/04..pod.t
@@ -14,8 +14,9 @@
 
     skip "Test::Pod not installed", scalar @modules if $@;
 
+    my $dir = $ENV{ADTTMP} ? '/usr/share/perl5' : 'lib';
     for my $module (@modules) {
-        my @path = ('lib', split('::', $module));
+        my @path = ($dir, split('::', $module));
         my $file = pop(@path) . '.pm';
         
         pod_file_ok(catfile(@path, $file), "$module pod ok");
