Test installed script when run under autopkgtest
Origin: vendor Forwarded: not-needed Last-Update: 2018-08-06 Gbp-Pq: Name autopkgtest.patch
This commit is contained in:
parent
e4a701b3a3
commit
cf363ac9de
|
@ -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',
|
||||
|
|
Loading…
Reference in New Issue