kumquat-buildroot/support/testing
Brandon Maier a210062ce2 support/testing: fix TestInitSystemNone for non-login shell
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>
2024-11-26 14:39:44 +01:00
..
conf support/testing: add systemd tests for factory and overlayfs 2023-10-08 20:15:13 +02:00
infra support/testing/infra/emulator.py: support init=/bin/sh 2024-11-26 14:38:43 +01:00
tests support/testing: fix TestInitSystemNone for non-login shell 2024-11-26 14:39:44 +01:00
run-tests support/testing: bump prebuilt kernel to 5.10.202 2023-12-09 21:35:28 +01:00