mirror of
https://github.com/MidnightCommander/mc
synced 2025-01-03 10:04:32 +03:00
extfs: uzip: make it testable.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
This commit is contained in:
parent
849d3e8f9d
commit
88f3aeef24
@ -17,9 +17,9 @@ use strict;
|
|||||||
# Location of the zip program
|
# Location of the zip program
|
||||||
my $app_zip = "@ZIP@";
|
my $app_zip = "@ZIP@";
|
||||||
# Location of the unzip program
|
# Location of the unzip program
|
||||||
my $app_unzip = "@UNZIP@";
|
my $app_unzip = $ENV{MC_TEST_EXTFS_LIST_CMD} || "@UNZIP@";
|
||||||
# Set this to 1 if zipinfo (unzip -Z) is to be used (recommended), otherwise 0.
|
# Set this to 1 if zipinfo (unzip -Z) is to be used (recommended), otherwise 0.
|
||||||
my $op_has_zipinfo = @HAVE_ZIPINFO@;
|
my $op_has_zipinfo = exists($ENV{MC_TEST_EXTFS_HAVE_ZIPINFO}) ? $ENV{MC_TEST_EXTFS_HAVE_ZIPINFO} : @HAVE_ZIPINFO@;
|
||||||
|
|
||||||
# Command used to list archives (zipinfo mode)
|
# Command used to list archives (zipinfo mode)
|
||||||
my $cmd_list_zi = "$app_unzip -Z -l -T";
|
my $cmd_list_zi = "$app_unzip -Z -l -T";
|
||||||
|
Loading…
Reference in New Issue
Block a user