buildroot/support/testing/tests/init
Brandon Maier a210062ce2 support/testing: fix TestInitSystemNone for non-login shell
This test started failing at commit
0cad947b96
"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 5ed1fab018)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2024-11-26 14:39:44 +01:00
..
systemd-factory/var/foo
systemd-overlay-fstab/etc support/testing: add missing systemd-overlay-fstab 2023-11-13 12:17:43 +01:00
systemd-overlay-mount-unit/usr/lib/systemd/system
test_systemd_selinux
__init__.py
base.py
test_busybox.py
test_none.py support/testing: fix TestInitSystemNone for non-login shell 2024-11-26 14:39:44 +01:00
test_openrc.py package/openrc: add split-user support 2023-11-01 19:12:22 +01:00
test_systemd.py support/testing/tests/init/test_systemd.py: fix 'on top' typo 2024-10-12 15:57:19 +02:00
test_systemd_selinux.py support/testing/test/init/test_systemd_selinux.py: use timeout argument for emulator.login 2023-11-06 20:43:31 +01:00