From cb610ef169ac157f76a587880dab4978b3fef62d Mon Sep 17 00:00:00 2001 From: Alex Eagle Date: Fri, 20 Jan 2023 15:01:17 -0800 Subject: [PATCH] chore: change to unzip -Z as it looks more likely to be on windows --- lib/testing.bzl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/testing.bzl b/lib/testing.bzl index cb9104a..4594b25 100644 --- a/lib/testing.bzl +++ b/lib/testing.bzl @@ -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