This test started failing at commit 0cad947b964be5612a182413da136fcf0dc5a1f2 "support/testing/infra/emulator.py: fix qemu prompt detection" with the error message AttributeError: 'NoneType' object has no attribute 'run_command' This is because we changed emulator.run() so that emulator.login() must be called first. But this test skips the login and goes directly to a shell. Use the new emulator.connect_shell() function which prepares the shell without logging in. Signed-off-by: Brandon Maier <brandon.maier@collins.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com> (cherry picked from commit 5ed1fab018db9a001b072fd7bcb3dd3db280aabe) Signed-off-by: Peter Korsgaard <peter@korsgaard.com> |
||
---|---|---|
.. | ||
systemd-factory/var/foo | ||
systemd-overlay-fstab/etc | ||
systemd-overlay-mount-unit/usr/lib/systemd/system | ||
test_systemd_selinux | ||
__init__.py | ||
base.py | ||
test_busybox.py | ||
test_none.py | ||
test_openrc.py | ||
test_systemd_selinux.py | ||
test_systemd.py |