mirror of
https://github.com/systemd/systemd.git
synced 2025-03-14 04:58:28 +03:00
ci: skip root tty login
We use the `autologin` mkosi option (see mkosi.default.d/10-systemd.conf), so the pexpect root login throws a (harmless) error: ``` Arch Linux (built from systemd tree) Kernel 5.4.0-1047-azure on an x86_64 (console) image login: root (automatic login) root root [root@image ~]# systemctl poweroff root -bash: root: command not found [root@image ~]# systemctl poweroff ```
This commit is contained in:
parent
715a273b10
commit
27b4d60678
3
.github/workflows/test_mkosi_boot.py
vendored
3
.github/workflows/test_mkosi_boot.py
vendored
@ -8,9 +8,6 @@ import sys
|
||||
def run() -> None:
|
||||
p = pexpect.spawnu(" ".join(sys.argv[1:]), logfile=sys.stdout, timeout=300)
|
||||
|
||||
p.expect("login:")
|
||||
p.sendline("root")
|
||||
|
||||
p.expect("#")
|
||||
p.sendline("systemctl poweroff")
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user