summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorMike Yuan <me@yhndnzj.com>2023-01-13 16:52:29 +0800
committerMike Yuan <me@yhndnzj.com>2023-01-16 19:46:52 +0800
commit372997694446f26ffdedc95a14278cd5b3d2b73d (patch)
tree769def8a2edd08531aa7c8aa78b94732b27dc4cf /test
parent8e481bd29258274b4d92737d4b11636eabfffcb5 (diff)
downloadsystemd-372997694446f26ffdedc95a14278cd5b3d2b73d.tar.gz
systemctl: list-dependencies: support --type= and --state=
Closes #25975
Diffstat (limited to 'test')
-rwxr-xr-xtest/units/testsuite-26.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/units/testsuite-26.sh b/test/units/testsuite-26.sh
index a89d089e12..dc2c7f5004 100755
--- a/test/units/testsuite-26.sh
+++ b/test/units/testsuite-26.sh
@@ -99,6 +99,9 @@ systemctl list-jobs --after
systemctl list-jobs --before
systemctl list-jobs --after --before
systemctl list-jobs "*"
+systemctl list-dependencies sysinit.target --type=socket,mount
+systemctl list-dependencies multi-user.target --state=active
+systemctl list-dependencies sysinit.target --state=mounted --all
# is-* verbs
# Should return 4 for a missing unit file