From: Luca Boccassi Date: Sun, 26 Jan 2025 17:35:06 +0000 (+0000) Subject: test: support slow test-ukify on Debian/Ubuntu X-Git-Tag: v258-rc1~1461^2 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=25a253084a16dcc077592ff85d62f69fa940d1de;p=thirdparty%2Fsystemd.git test: support slow test-ukify on Debian/Ubuntu Kernels are installed in /boot/ so find them there too --- diff --git a/src/ukify/test/test_ukify.py b/src/ukify/test/test_ukify.py index 24359129bbe..0de7e8904db 100755 --- a/src/ukify/test/test_ukify.py +++ b/src/ukify/test/test_ukify.py @@ -411,6 +411,8 @@ def test_help_error(capsys): @pytest.fixture(scope='session') def kernel_initrd(): items = sorted(glob.glob('/lib/modules/*/vmlinuz')) + if not items: + items = sorted(glob.glob('/boot/vmlinuz*')) if not items: return None