From: Tim Kientzle Date: Sun, 10 Jun 2012 00:58:25 +0000 (-0700) Subject: Only test lrzip extraction if the lrzip executable is available. X-Git-Tag: v3.1.0~87 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=4df66a43907325cd244d35e546848d2e8447f282;p=thirdparty%2Flibarchive.git Only test lrzip extraction if the lrzip executable is available. --- diff --git a/libarchive/test/test_compat_lrzip.c b/libarchive/test/test_compat_lrzip.c index 0f182dfaf..76350a928 100644 --- a/libarchive/test/test_compat_lrzip.c +++ b/libarchive/test/test_compat_lrzip.c @@ -71,7 +71,11 @@ verify(const char *name) DEFINE_TEST(test_compat_lrzip) { - verify("test_compat_lrzip.tar.lrz"); + if (canLrzip()) { + verify("test_compat_lrzip.tar.lrz"); + } else { + skipping("lrzip command-line program not found"); + } }