]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
TEST-07-PID1: Schedule exit on successful execution
authorDaan De Meyer <daan.j.demeyer@gmail.com>
Sat, 4 May 2024 20:19:22 +0000 (22:19 +0200)
committerDaan De Meyer <daan.j.demeyer@gmail.com>
Mon, 6 May 2024 09:57:09 +0000 (11:57 +0200)
The test unit has RemainAfterExit=yes so let's schedule our own
shutdown from the test itself once we finish running.

test/units/testsuite-07.sh

index 2ee1457753abea20f81391a07a54e3c37f1ca3b1..873d638f76db5dee1679da955beb57660444d908 100755 (executable)
@@ -13,3 +13,4 @@ mountpoint /issue2730
 run_subtests
 
 touch /testok
+systemctl --no-block exit 123