]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
test: quote entire path to socket in io.systemd.Manager tests
authorIvan Kruglov <mail@ikruglov.com>
Mon, 26 May 2025 10:13:55 +0000 (03:13 -0700)
committerIvan Kruglov <mail@ikruglov.com>
Tue, 27 May 2025 08:16:56 +0000 (01:16 -0700)
test/units/TEST-74-AUX-UTILS.varlinkctl.sh

index 83f8ac35327ddf06dabb17fd4c3d791f7f115d5f..0c7582db51a3e0cad803b48d12e488f577891311 100755 (executable)
@@ -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 '{}'