]> git.ipfire.org Git - thirdparty/libarchive.git/commitdiff
Update lz4 test to watch for the reworded error messages
authorTim Kientzle <kientzle@acm.org>
Sun, 31 Jan 2016 20:33:36 +0000 (12:33 -0800)
committerTim Kientzle <kientzle@acm.org>
Sun, 31 Jan 2016 20:33:36 +0000 (12:33 -0800)
cpio/test/test_option_lz4.c
tar/test/test_option_lz4.c

index a007e3571289cce07d3059a6f8f4bb148aad8932..75704467bb26cb472ae94a7902d09c24d3b67317 100644 (file)
@@ -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.");
index a79c8827aa2c94b234beb214a2921e100ecf7ecc..972abaa6a32bc0d74235e5e165087314144b68ad 100644 (file)
@@ -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.");