]> git.ipfire.org Git - thirdparty/systemd.git/commit
test: add shutdown test 21838/head
authorLudwig Nussel <ludwig.nussel@suse.de>
Wed, 22 Dec 2021 10:50:08 +0000 (11:50 +0100)
committerLudwig Nussel <ludwig.nussel@suse.de>
Tue, 25 Jan 2022 16:43:13 +0000 (17:43 +0100)
commit48f3bc5cc4dd52155a06753da5ef2cd9d48f7b07
treec34137640141fdad67c5eda3c8ea0552087197ec
parent38d55bf2641f345445cb4e6a5e5e808555591db2
test: add shutdown test

Wraps nspawn to be able to use pexpect. The test logs in on the console
and runs screen. In one screen window it types in shutdown commands and
checks whether a wall message was sent to the other.
test/TEST-69-SHUTDOWN/Makefile [new symlink]
test/TEST-69-SHUTDOWN/test.sh [new file with mode: 0755]
test/test-functions
test/test-shutdown.py [new file with mode: 0755]
test/units/testsuite-69.service [new file with mode: 0644]