From: Michihiro NAKAJIMA Date: Sun, 7 Oct 2012 11:04:03 +0000 (+0900) Subject: Surely skip test_read_filter_lrzip and test_read_filter_lzop when X-Git-Tag: v3.1.0~40^2~80 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1218dad512c5e52a460512746c8e1e0c59ea6e9a;p=thirdparty%2Flibarchive.git Surely skip test_read_filter_lrzip and test_read_filter_lzop when the compression commands are not available. --- diff --git a/libarchive/test/test_read_filter_lrzip.c b/libarchive/test/test_read_filter_lrzip.c index 47dd78831..72a54ac63 100644 --- a/libarchive/test/test_read_filter_lrzip.c +++ b/libarchive/test/test_read_filter_lrzip.c @@ -36,6 +36,7 @@ DEFINE_TEST(test_read_filter_lrzip) if (!canLrzip()) { skipping("lrzip command-line program not found"); + return; } assert((a = archive_read_new()) != NULL); diff --git a/libarchive/test/test_read_filter_lzop.c b/libarchive/test/test_read_filter_lzop.c index 885fbae91..ab154d961 100644 --- a/libarchive/test/test_read_filter_lzop.c +++ b/libarchive/test/test_read_filter_lzop.c @@ -37,6 +37,7 @@ DEFINE_TEST(test_read_filter_lzop) if (!canLzop()) { skipping("lzop command-line program not found"); + return; } extract_reference_file(reference);