This is an automated email from the git hooks/post-receive script.

guillem pushed a commit to branch main
in repository dpkg.

View the commit online:
https://git.dpkg.org/cgit/dpkg/dpkg.git/commit/?id=77e07f0b3c4250f698cc449b3d713d472cefc6c8

commit 77e07f0b3c4250f698cc449b3d713d472cefc6c8
Author: Guillem Jover <[email protected]>
AuthorDate: Tue Dec 6 20:08:14 2022 +0100

    test: Skip deb-format tests if required compressors are not present
    
    When these program are not present, we should skip the test instead of
    failing it completely.
---
 src/at/deb-format.at | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/src/at/deb-format.at b/src/at/deb-format.at
index fb22a0100..69182bd09 100644
--- a/src/at/deb-format.at
+++ b/src/at/deb-format.at
@@ -160,6 +160,11 @@ AT_CLEANUP
 AT_SETUP([dpkg-deb .deb format 2.x])
 AT_KEYWORDS([dpkg-deb deb])
 
+AT_SKIP_IF([! command -v xz >/dev/null])
+AT_SKIP_IF([! command -v gzip >/dev/null])
+AT_SKIP_IF([! command -v bzip2 >/dev/null])
+AT_SKIP_IF([! command -v lzma >/dev/null])
+
 AT_DATA([pkg-deb-bogus-empty.deb], [])
 AT_CHECK([
 # Check truncated deb w/ 0 size

-- 
Dpkg.Org's dpkg

Reply via email to