mirror of
https://github.com/systemd/systemd.git
synced 2025-03-22 06:50:18 +03:00
test: add superficial test for generic per-service varlink API
This commit is contained in:
parent
c8127075ae
commit
078ddcb7ce
@ -83,3 +83,10 @@ systemctl daemon-reload
|
||||
|
||||
systemctl start import0.service
|
||||
cmp /var/tmp/importtest /var/lib/confexts/importtest9/importtest
|
||||
|
||||
# Verify generic service calls, too
|
||||
varlinkctl call --more /run/systemd/io.systemd.Import io.systemd.service.Ping '{}'
|
||||
varlinkctl call --more /run/systemd/io.systemd.Import io.systemd.service.SetLogLevel '{"level":"7"}'
|
||||
varlinkctl call --more /run/systemd/io.systemd.Import io.systemd.service.SetLogLevel '{"level":"1"}'
|
||||
varlinkctl call --more /run/systemd/io.systemd.Import io.systemd.service.SetLogLevel '{"level":"7"}'
|
||||
varlinkctl call --more /run/systemd/io.systemd.Import io.systemd.service.GetEnvironment '{}'
|
||||
|
Loading…
x
Reference in New Issue
Block a user