]> git.ipfire.org Git - thirdparty/systemd.git/blobdiff - test/units/testsuite-74.busctl.sh
Merge pull request #26781 from mrc0mmand/tests-again
[thirdparty/systemd.git] / test / units / testsuite-74.busctl.sh
index 6e905a025a260f06b439a30598ef95cb9d30bbea..aaf96d08c1230ae90bbf72d33c472e22090c6ad7 100755 (executable)
@@ -38,6 +38,11 @@ busctl call --json=pretty \
 busctl call --json=short \
             org.freedesktop.systemd1 /org/freedesktop/systemd1 org.freedesktop.systemd1.Manager \
             ListUnitsByNames as 2 "systemd-journald.service" "systemd-logind.service" | jq
+# Get all properties on the org.freedesktop.systemd1.Manager interface and dump
+# them as JSON to exercise the internal JSON transformations
+busctl call -j \
+            org.freedesktop.systemd1 /org/freedesktop/systemd1 org.freedesktop.DBus.Properties \
+            GetAll s "org.freedesktop.systemd1.Manager" | jq -c
 busctl call --verbose --timeout=60 --expect-reply=yes \
             org.freedesktop.systemd1 /org/freedesktop/systemd1 org.freedesktop.systemd1.Manager \
             ListUnitsByPatterns asas 1 "active" 2 "systemd-*.socket" "*.mount"