forked from Mirror/pmbootstrap
test: test_qemu_running_processes: ensure "none" UI boots correctly (!1911)
No special process needs to be running, SSH is good already :)
This commit is contained in:
parent
4c31a610eb
commit
181687a2d7
1 changed files with 10 additions and 3 deletions
|
@ -166,14 +166,21 @@ def is_running(args, programs, timeout=300, sleep_before_retry=1):
|
|||
return False
|
||||
|
||||
|
||||
def test_none(args, tmpdir, qemu):
|
||||
qemu.run(args, tmpdir)
|
||||
|
||||
# Check that at least SSH works (no special process running)
|
||||
assert is_running(args, [])
|
||||
|
||||
# self-test of is_running() - invalid-process should not be detected as running
|
||||
assert is_running(args, ["invalid-process"], 1) is False
|
||||
|
||||
|
||||
def test_xfce4(args, tmpdir, qemu):
|
||||
qemu.run(args, tmpdir, "xfce4")
|
||||
assert is_running(args, ["xfce4-session", "xfdesktop", "xfce4-panel",
|
||||
"Thunar", "dbus-daemon", "xfwm4"])
|
||||
|
||||
# self-test of is_running()
|
||||
assert is_running(args, ["invalid-process"], 1) is False
|
||||
|
||||
|
||||
def test_plasma_mobile(args, tmpdir, qemu):
|
||||
# NOTE: Once we have plasma mobile running properly without GL, we can check
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue