]> git.ipfire.org Git - thirdparty/knot-resolver.git/commitdiff
distro/tests: update test dependencies docs-ci-alma-10-1nrr88/deployments/7000
authorJakub Ružička <jakub.ruzicka@nic.cz>
Thu, 12 Jun 2025 11:24:25 +0000 (13:24 +0200)
committerVladimír Čunát <vladimir.cunat@nic.cz>
Thu, 12 Jun 2025 11:45:14 +0000 (13:45 +0200)
Depend on man on almalinux.

Also shorten distro.match invocations for readability.

distro/tests/extra/all/control

index 1130b04dc125e0327a7fe8a5fd8c375e822cd52f..d11c79371db6de5d2b7f8d57e49b31f77b4995a7 100644 (file)
@@ -19,7 +19,7 @@ Tests-Directory: tests/packaging
 Restrictions: needs-root
 {% if distro.match('fedora') -%}
 Depends: knot-utils, jq, curl, procps
-{% elif distro.match('debian') or distro.match('ubuntu') -%}
+{% elif distro.match('debian''ubuntu') -%}
 Depends: knot-dnsutils, jq, curl, procps
 {% elif distro.match('arch') -%}
 Depends: knot, jq, curl
@@ -36,6 +36,6 @@ Depends: unsupported-distro-this-package-does-not-exist-and-the-test-should-fail
 
 Tests: manpage.sh
 Tests-Directory: tests/packaging
-{% if distro.match('fedora') or distro.match('rocky') or distro.match('opensuse') -%}
+{% if distro.match('fedora', 'almalinux', 'rocky', 'opensuse') -%}
 Depends: man
 {%- endif %}