From da4df925d72fb3b6ab3607edfc2022f8643b4b80 Mon Sep 17 00:00:00 2001 From: Marek Kubica Date: Wed, 25 Mar 2026 11:07:03 +0100 Subject: [PATCH] Explicitely pass flag to decompress bzip2 archives `tar` on OpenBSD can decompress bzip2 but it does not do that automatically by default, unlike GNU tar or bsdtar. However all tar implementations support the `j` flag so might as well use it. This should fix tests on OpenBSD while keeping it working just fine on all other platforms too. --- tests/bin/opam-file-locations/run.t | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/bin/opam-file-locations/run.t b/tests/bin/opam-file-locations/run.t index 8ad06572..fb9ee0c3 100644 --- a/tests/bin/opam-file-locations/run.t +++ b/tests/bin/opam-file-locations/run.t @@ -100,5 +100,5 @@ And as well have a release tarball Which contains the `.opam` file in the right location: - $ tar tf _build/myproject-0.2.0.tbz | grep \\.opam + $ tar tjf _build/myproject-0.2.0.tbz | grep \\.opam myproject-0.2.0/opam/myproject.opam