]> git.ipfire.org Git - thirdparty/libarchive.git/commitdiff
"bunzip2 -V" does not exit with 0, use "bunzip2 -h" instead
authorMartin Matuska <martin@matuska.org>
Sun, 25 Sep 2016 00:03:23 +0000 (02:03 +0200)
committerMartin Matuska <martin@matuska.org>
Sun, 25 Sep 2016 00:03:23 +0000 (02:03 +0200)
libarchive/test/test_read_set_format.c

index 9208833e53a7b6387481153bfd7f94264660f4b5..f9be978351c4a302380f135dd777cba487bd1d74 100644 (file)
@@ -204,7 +204,7 @@ DEFINE_TEST(test_read_append_filter_wrong_program)
   /*
    * If we have "bunzip2 -q", try using that.
    */
-  if (!canRunCommand("bunzip2 -V")) {
+  if (!canRunCommand("bunzip2 -h")) {
     skipping("Can't run bunzip2 program on this platform");
     return;
   }