mirror of
https://github.com/systemd/systemd.git
synced 2025-02-03 17:47:28 +03:00
test: add some basic testing that "systemctl start -T" does something
This commit is contained in:
parent
85d9b5981b
commit
f087c7e072
@ -26,6 +26,13 @@ grep 'sleep\.service.*running' /root/list-jobs.txt
|
||||
grep 'hello\.service' /root/list-jobs.txt && exit 1
|
||||
systemctl stop sleep.service hello-after-sleep.target
|
||||
|
||||
# Some basic testing that --show-transaction does something useful
|
||||
! systemctl is-active systemd-importd
|
||||
systemctl -T start systemd-importd
|
||||
systemctl is-active systemd-importd
|
||||
systemctl --show-transaction stop systemd-importd
|
||||
! systemctl is-active systemd-importd
|
||||
|
||||
# Test for a crash when enqueuing a JOB_NOP when other job already exists
|
||||
systemctl start --no-block hello-after-sleep.target
|
||||
# hello.service should still be waiting, so these try-restarts will collapse
|
||||
|
Loading…
x
Reference in New Issue
Block a user