test: quote entire path to socket in io.systemd.Manager tests

This commit is contained in:
Ivan Kruglov
2025-05-26 03:13:55 -07:00
parent d2a8dbabf5
commit 92fa38c99d

View File

@@ -175,8 +175,8 @@ varlinkctl call /run/systemd/io.systemd.Manager io.systemd.Manager.Describe '{}'
# test io.systemd.Manager in user manager
testuser_uid=$(id -u testuser)
systemd-run --wait --pipe --user --machine testuser@ \
varlinkctl info /run/user/"$testuser_uid"/systemd/io.systemd.Manager
varlinkctl info "/run/user/$testuser_uid/systemd/io.systemd.Manager"
systemd-run --wait --pipe --user --machine testuser@ \
varlinkctl introspect /run/user/"$testuser_uid"/systemd/io.systemd.Manager
varlinkctl introspect "/run/user/$testuser_uid/systemd/io.systemd.Manager"
systemd-run --wait --pipe --user --machine testuser@ \
varlinkctl call /run/user/"$testuser_uid"/systemd/io.systemd.Manager io.systemd.Manager.Describe '{}'
varlinkctl call "/run/user/$testuser_uid/systemd/io.systemd.Manager" io.systemd.Manager.Describe '{}'