Split the monolithic varlinkctl test script into separate files per varlink interface for better organization and easier maintenance: - varlinkctl.sh: core varlinkctl tool tests (CLI, transports, socket discovery, upgrade/serve) and io.systemd.Manager - varlinkctl-network.sh: io.systemd.Network - varlinkctl-unit.sh: io.systemd.Unit (system + user manager) - varlinkctl-metrics.sh: io.systemd.Metrics No functional changes — the test content is moved as-is. Co-developed-by: Claude Opus 4.6 <noreply@anthropic.com>
17 lines
667 B
Bash
Executable File
17 lines
667 B
Bash
Executable File
#!/usr/bin/env bash
|
|
# SPDX-License-Identifier: LGPL-2.1-or-later
|
|
set -eux
|
|
set -o pipefail
|
|
|
|
# test io.systemd.Metrics
|
|
varlinkctl info /run/systemd/report/io.systemd.Manager
|
|
|
|
varlinkctl list-methods /run/systemd/report/io.systemd.Manager
|
|
varlinkctl list-methods -j /run/systemd/report/io.systemd.Manager io.systemd.Metrics | jq .
|
|
|
|
varlinkctl introspect /run/systemd/report/io.systemd.Manager
|
|
varlinkctl introspect -j /run/systemd/report/io.systemd.Manager io.systemd.Metrics | jq .
|
|
|
|
varlinkctl --more call /run/systemd/report/io.systemd.Manager io.systemd.Metrics.List '{}'
|
|
varlinkctl --more call /run/systemd/report/io.systemd.Manager io.systemd.Metrics.Describe '{}'
|