]> git.ipfire.org Git - thirdparty/systemd.git/commit
test: Always shutdown on test success in mkosi
authorDaan De Meyer <daan.j.demeyer@gmail.com>
Sun, 5 May 2024 09:38:09 +0000 (11:38 +0200)
committerDaan De Meyer <daan.j.demeyer@gmail.com>
Mon, 6 May 2024 08:56:54 +0000 (10:56 +0200)
commitd91bb1cbf073f2777cd3eebd8ff39c58066bd5c1
tree2853800ac9ef7a5788cf5f0eef20634ef3909566
parent0596237e0e3cbe3c3312300f00ef49742dc24562
test: Always shutdown on test success in mkosi

When we want to get an interactive shell in a test that fails because
of a race condition, we might need to run the test a few times with
--repeat before it fails. However, currently, when -i is used, the VM
needs to be shut down manually each time before the next run can start.

Let's always shut down the VM if the test succeeds so that --repeat can
be used with -i to run the test until it fails and then get an interactive
shell in the VM.
test/integration-test-wrapper.py