]> git.ipfire.org Git - thirdparty/libarchive.git/commitdiff
Correct detection error messages in a lack of liblzma.
authorMichihiro NAKAJIMA <ggcueroad@gmail.com>
Sun, 14 Oct 2012 04:47:58 +0000 (13:47 +0900)
committerMichihiro NAKAJIMA <ggcueroad@gmail.com>
Sun, 14 Oct 2012 04:47:58 +0000 (13:47 +0900)
tar/test/test_option_lzma.c
tar/test/test_option_xz.c

index 4a5a01ec2ce02abeb313d4d5f3d2868c2d710959..a845666e34f9aa15c620131cc4dbced91803d97e 100644 (file)
@@ -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;
                }
index 0ad9053865017b663e3c73dba8419eb83fe68135..7387a604e072e0fceea88d1d634686a2c3ed520f 100644 (file)
@@ -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;
                }