From 35af4d958fe5df6fb43a8deba5a4658d17cf2226 Mon Sep 17 00:00:00 2001 From: Michihiro NAKAJIMA Date: Sun, 14 Oct 2012 13:47:58 +0900 Subject: [PATCH] Correct detection error messages in a lack of liblzma. --- tar/test/test_option_lzma.c | 4 ++-- tar/test/test_option_xz.c | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) 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; } -- 2.47.2