aboutsummaryrefslogtreecommitdiffstats
path: root/libarchive/test/test_write_filter_zstd.c
diff options
context:
space:
mode:
Diffstat (limited to 'libarchive/test/test_write_filter_zstd.c')
-rw-r--r--libarchive/test/test_write_filter_zstd.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/libarchive/test/test_write_filter_zstd.c b/libarchive/test/test_write_filter_zstd.c
index ba1b6bfe716b..b5f061a001aa 100644
--- a/libarchive/test/test_write_filter_zstd.c
+++ b/libarchive/test/test_write_filter_zstd.c
@@ -124,6 +124,9 @@ DEFINE_TEST(test_write_filter_zstd)
archive_write_set_filter_option(a, NULL, "compression-level", "25")); /* too big */
assertEqualIntA(a, ARCHIVE_OK,
archive_write_set_filter_option(a, NULL, "compression-level", "9"));
+ /* Following is disabled as it will fail on library versions < 1.3.4 */
+ /* assertEqualIntA(a, ARCHIVE_OK,
+ archive_write_set_filter_option(a, NULL, "compression-level", "-1")); */
assertEqualIntA(a, ARCHIVE_OK,
archive_write_set_filter_option(a, NULL, "compression-level", "7"));
assertEqualIntA(a, ARCHIVE_OK, archive_write_open_memory(a, buff, buffsize, &used2));