1
0
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:
Mike Yuan 2023-07-06 02:40:01 +08:00
parent 4893902be8
commit bf3dfa6202
No known key found for this signature in database
GPG Key ID: 417471C0A40F58B3
2 changed files with 11 additions and 0 deletions

View File

@ -0,0 +1,3 @@
# SPDX-License-Identifier: LGPL-2.1-or-later
[Unit]
PropagatesStopTo=propagatestopto-and-pullin.target

View File

@ -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