]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
test: support slow test-ukify on Debian/Ubuntu 36197/head
authorLuca Boccassi <luca.boccassi@gmail.com>
Sun, 26 Jan 2025 17:35:06 +0000 (17:35 +0000)
committerLuca Boccassi <luca.boccassi@gmail.com>
Tue, 28 Jan 2025 17:28:55 +0000 (17:28 +0000)
Kernels are installed in /boot/ so find them there too

src/ukify/test/test_ukify.py

index 24359129bbe59e11fc25a903e98c60e76f367c78..0de7e8904dbd2fd75514ea26b3a178f2ebd6cd76 100755 (executable)
@@ -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