1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
|
Description: Test installed script when run under autopkgtest
Origin: vendor
Forwarded: not-needed
Author: Salvatore Bonaccorso <carnil@debian.org>
Last-Update: 2018-08-06
--- a/t/11mimeinfo.t
+++ b/t/11mimeinfo.t
@@ -9,7 +9,7 @@ use FindBin qw($Bin);
eval "use IO::Scalar";
my $have_io_scalar = !$@;
-my $mimetype_file = File::Spec->catfile($Bin, '..', 'mimetype');
+my $mimetype_file = $ENV{ADTTMP} ? '/usr/bin/mimetype' : File::Spec->catfile($Bin, '..', 'mimetype');
my %tests = (
'mimeopen', 'application/x-perl',
|