Merge pull request #3166 from stoeckmann/unzip_p_enc_test

unzip: Skip another test if zlib unavailable
This commit is contained in:
Tobias Stoeckmann authored and GitHub committed 2026-06-22 07:44:58 +02:00
commit c56456886d
1 file changed
+4
+4
View File
@@ -9,6 +9,7 @@
/* Test P arg - password protected */
DEFINE_TEST(test_P_encryption)
{
#ifdef HAVE_LIBZ
const char *reffile = "test_encrypted.zip";
int r;
@@ -23,4 +24,7 @@ DEFINE_TEST(test_P_encryption)
assertTextFileContents("plaintext\n", "encrypted/file.txt");
}
#else
skipping("zlib not available");
#endif
}