kiwi-el8/test/unit/package_manager
Frank Schreiner eaba7e1055
retry postinst configure with second parameter '0'
retry `postinst configure` with second parameter '0'

As described in #2956 some newer postinst scripts like the one of
libselinux1 fail when called without the second parameter. On the other
hand it turned out that older versions like libgcrypt20 in Debian 12
fail installation if the get a second paramter because of faulty
implmentation.

With this patch kiwi calls it the old way without a second parameter and
retries with 0 as old version if it fails on the first attempt.

* Update unit tests

---------

Co-authored-by: Marcus Schäfer <marcus.schaefer@gmail.com>
2026-02-26 17:33:27 +01:00
..
__init__.py Re-structure unit tests folders 2019-10-21 14:00:05 +02:00
apk_test.py Add support for Alpine 2025-04-01 10:44:41 +02:00
apt_test.py retry postinst configure with second parameter '0' 2026-02-26 17:33:27 +01:00
base_test.py Fixed delta_root build 2024-03-07 15:50:58 +01:00
dnf4_test.py Identify the correct binary for DNF4 2026-01-23 10:22:51 -05:00
dnf5_test.py Fix package removal with dnf5 2024-04-25 16:42:40 -07:00
init_test.py Use unittest.mock from core python everywhere 2024-02-18 22:15:30 +01:00
microdnf_test.py Use unittest.mock from core python everywhere 2024-02-18 22:15:30 +01:00
pacman_test.py Use unittest.mock from core python everywhere 2024-02-18 22:15:30 +01:00
zypper_test.py Use unittest.mock from core python everywhere 2024-02-18 22:15:30 +01:00