Merge pull request #3166 from stoeckmann/unzip_p_enc_test
unzip: Skip another test if zlib unavailable
This commit is contained in:
1 file changed
+4
@@ -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
|
||||
}
|
||||
Reference in new issue
Block a user