]> git.ipfire.org Git - thirdparty/libarchive.git/commit
Skip zlib tests if support is missing 2658/head
authorTobias Stoeckmann <tobias@stoeckmann.org>
Tue, 3 Jun 2025 15:24:30 +0000 (17:24 +0200)
committerTobias Stoeckmann <tobias@stoeckmann.org>
Tue, 3 Jun 2025 15:27:48 +0000 (17:27 +0200)
commitac66e0bc4270c3e2e6ab9dbd4916e1d9f9b7eee6
tree847d60cdb435f47b01f6f85b1913ddc0b6b55fd6
parentf2c3c790ff14329b8fe2e0c5c53976ce1bdfb73d
Skip zlib tests if support is missing

If zlib is not supported, do not run tests to avoid false positives.

Also adjust tests to support latest gzip versions (1.10+) which store
less information for improved reproducibility. The gzip binary is
used as a fallback if zlib is not available.

Signed-off-by: Tobias Stoeckmann <tobias@stoeckmann.org>
18 files changed:
libarchive/test/test_read_filter_gzip_recursive.c
libarchive/test/test_read_set_format.c
libarchive/test/test_write_filter_gzip.c
libarchive/test/test_write_filter_gzip_timestamp.c
unzip/test/test_C.c
unzip/test/test_L.c
unzip/test/test_basic.c
unzip/test/test_d.c
unzip/test/test_doubledash.c
unzip/test/test_glob.c
unzip/test/test_j.c
unzip/test/test_n.c
unzip/test/test_o.c
unzip/test/test_p.c
unzip/test/test_q.c
unzip/test/test_singlefile.c
unzip/test/test_t.c
unzip/test/test_x.c