From: Tim Kientzle Date: Sun, 31 Jan 2016 20:33:36 +0000 (-0800) Subject: Update lz4 test to watch for the reworded error messages X-Git-Tag: v3.1.900a~8 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=266f8b6383e21745b0a4c6428a1a84a29f40c885;p=thirdparty%2Flibarchive.git Update lz4 test to watch for the reworded error messages --- diff --git a/cpio/test/test_option_lz4.c b/cpio/test/test_option_lz4.c index a007e3571..75704467b 100644 --- a/cpio/test/test_option_lz4.c +++ b/cpio/test/test_option_lz4.c @@ -45,7 +45,7 @@ DEFINE_TEST(test_option_lz4) "without lz4 support"); return; } - if (strstr(p, "Filter exited with failure") != NULL + if (strstr(p, "Can't launch") != NULL && !canLz4()) { skipping("This version of bsdtar uses an external lz4 program " "but no such program is available on this system."); diff --git a/tar/test/test_option_lz4.c b/tar/test/test_option_lz4.c index a79c8827a..972abaa6a 100644 --- a/tar/test/test_option_lz4.c +++ b/tar/test/test_option_lz4.c @@ -45,7 +45,7 @@ DEFINE_TEST(test_option_lz4) "without lz4 support"); return; } - if (strstr(p, "Filter exited with failure") != NULL + if (strstr(p, "Can't launch") != NULL && !canLz4()) { skipping("This version of bsdtar uses an external lz4 program " "but no such program is available on this system.");