mirror of
https://github.com/systemd/systemd.git
synced 2026-08-09 01:20:53 +00:00
test: support slow test-ukify on Debian/Ubuntu
Kernels are installed in /boot/ so find them there too
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user