mirror of
https://github.com/systemd/systemd.git
synced 2025-02-25 21:57:32 +03:00
TEST-03-JOBS: test indirect PropagatesStopTo=
This commit is contained in:
parent
4893902be8
commit
bf3dfa6202
3
test/testsuite-03.units/propagatestopto-indirect.target
Normal file
3
test/testsuite-03.units/propagatestopto-indirect.target
Normal file
@ -0,0 +1,3 @@
|
||||
# SPDX-License-Identifier: LGPL-2.1-or-later
|
||||
[Unit]
|
||||
PropagatesStopTo=propagatestopto-and-pullin.target
|
@ -145,4 +145,12 @@ systemctl --quiet is-active sleep-infinity-simple.service
|
||||
systemctl restart propagatestopto-only.target
|
||||
assert_rc 3 systemctl --quiet is-active sleep-infinity-simple.service
|
||||
|
||||
systemctl start propagatesstopto-indirect.target propagatestopto-and-pullin.target
|
||||
systemctl --quiet is-active propagatestopto-indirect.target
|
||||
systemctl --quiet is-active propagatestopto-and-pullin.target
|
||||
|
||||
systemctl restart propagatestopto-indirect.target
|
||||
assert_rc 3 systemctl --quiet is-active propagatestopto-and-pullin.target
|
||||
assert_rc 3 systemctl --quiet is-active sleep-infinity-simple.service
|
||||
|
||||
touch /testok
|
||||
|
Loading…
x
Reference in New Issue
Block a user