chore: change to unzip -Z as it looks more likely to be on windows

This commit is contained in:
Alex Eagle 2023-01-20 15:01:17 -08:00
parent 2cb6c7ac4f
commit cb610ef169
1 changed files with 1 additions and 1 deletions

View File

@ -136,7 +136,7 @@ def assert_archive_contains(name, archive, expected, type = None, **kwargs):
fail("type must be 'tar' or 'zip', not " + type)
# Command to list the files in the archive
command = "zipinfo -1" if type == "zip" else "tar -tf"
command = "unzip -Z1" if type == "zip" else "tar -tf"
# -f $actual: use this file to contain one pattern per line
# -F: treat each pattern as a plain string, not a regex