diff options
Diffstat (limited to 'contrib/libarchive/unzip/test/test_singlefile.c')
| -rw-r--r-- | contrib/libarchive/unzip/test/test_singlefile.c | 4 | 
1 files changed, 4 insertions, 0 deletions
| diff --git a/contrib/libarchive/unzip/test/test_singlefile.c b/contrib/libarchive/unzip/test/test_singlefile.c index a72811f046d9..a5a35ecacc4d 100644 --- a/contrib/libarchive/unzip/test/test_singlefile.c +++ b/contrib/libarchive/unzip/test/test_singlefile.c @@ -9,6 +9,7 @@  /* Ensure single-file zips work */  DEFINE_TEST(test_singlefile)  { +#ifdef HAVE_LIBZ  	const char *reffile = "test_singlefile.zip";  	int r; @@ -19,4 +20,7 @@ DEFINE_TEST(test_singlefile)  	assertEmptyFile("test.err");  	assertTextFileContents("hello\n", "file.txt"); +#else +	skipping("zlib not available"); +#endif  } | 
