From 25a253084a16dcc077592ff85d62f69fa940d1de Mon Sep 17 00:00:00 2001 From: Luca Boccassi Date: Sun, 26 Jan 2025 17:35:06 +0000 Subject: [PATCH] test: support slow test-ukify on Debian/Ubuntu Kernels are installed in /boot/ so find them there too --- src/ukify/test/test_ukify.py | 2 ++ 1 file changed, 2 insertions(+) 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 -- 2.47.3