]> git.ipfire.org Git - thirdparty/libarchive.git/commit
tests: Skip checks on low memory systems 3081/head
authorTobias Stoeckmann <tobias@stoeckmann.org>
Wed, 27 May 2026 18:49:29 +0000 (20:49 +0200)
committerTobias Stoeckmann <tobias@stoeckmann.org>
Wed, 27 May 2026 19:17:44 +0000 (21:17 +0200)
commite624f04ce567ad55df1b81b5f0b701280b783672
tree9dc11a855f3a0133280ff805b6c978ae31f8a740
parentc15997d4f303e01da11cb13e95783866c5cb0687
tests: Skip checks on low memory systems

If not enough memory is available, skip tests. This can happen on 32 bit
systems with ASAN enabled. While these tests run perfectly fine if run
directly with libarchive_test, the test harness fails with eventual NULL
pointer dereferences, since these assert-checks do not stop processing.

Happens with lzma and xz and compression level 9.

Signed-off-by: Tobias Stoeckmann <tobias@stoeckmann.org>
libarchive/test/test_write_filter_lzma.c
libarchive/test/test_write_filter_xz.c
libarchive/test/test_write_format_zip_compression_lzmaxz.c