From: Michihiro NAKAJIMA Date: Sun, 14 Oct 2012 04:47:58 +0000 (+0900) Subject: Correct detection error messages in a lack of liblzma. X-Git-Tag: v3.1.0~40^2~40 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=35af4d958fe5df6fb43a8deba5a4658d17cf2226;p=thirdparty%2Flibarchive.git Correct detection error messages in a lack of liblzma. --- diff --git a/tar/test/test_option_lzma.c b/tar/test/test_option_lzma.c index 4a5a01ec2..a845666e3 100644 --- a/tar/test/test_option_lzma.c +++ b/tar/test/test_option_lzma.c @@ -41,8 +41,8 @@ DEFINE_TEST(test_option_lzma) p = slurpfile(&s, "archive.err"); p[s] = '\0'; if (r != 0) { - if (strstr(p, "compression not available") != NULL) { - skipping("This version of bsdcpio was compiled " + if (strstr(p, "Unsupported compression") != NULL) { + skipping("This version of bsdtar was compiled " "without lzma support"); return; } diff --git a/tar/test/test_option_xz.c b/tar/test/test_option_xz.c index 0ad905386..7387a604e 100644 --- a/tar/test/test_option_xz.c +++ b/tar/test/test_option_xz.c @@ -41,8 +41,8 @@ DEFINE_TEST(test_option_xz) p = slurpfile(&s, "archive.err"); p[s] = '\0'; if (r != 0) { - if (strstr(p, "compression not available") != NULL) { - skipping("This version of bsdcpio was compiled " + if (strstr(p, "Unsupported compression") != NULL) { + skipping("This version of bsdtar was compiled " "without xz support"); return; }