diff options
Diffstat (limited to 'contrib/libarchive/unzip/test/test_glob.c')
| -rw-r--r-- | contrib/libarchive/unzip/test/test_glob.c | 4 | 
1 files changed, 4 insertions, 0 deletions
| diff --git a/contrib/libarchive/unzip/test/test_glob.c b/contrib/libarchive/unzip/test/test_glob.c index b53aa16fd85c..589ff1c55ef3 100644 --- a/contrib/libarchive/unzip/test/test_glob.c +++ b/contrib/libarchive/unzip/test/test_glob.c @@ -9,6 +9,7 @@  /* Test that the glob works */  DEFINE_TEST(test_glob)  { +#ifdef HAVE_LIBZ  	const char *reffile = "test_basic.zip";  	int r; @@ -22,4 +23,7 @@ DEFINE_TEST(test_glob)  	assertTextFileContents("contents b\n", "test_basic/b");  	assertFileNotExists("test_basic/c");  	assertFileNotExists("test_basic/CAPS"); +#else +	skipping("zlib not available"); +#endif  } | 
