diff options
author | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2018-04-12 16:16:19 +0200 |
---|---|---|
committer | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2018-04-12 16:20:02 +0200 |
commit | c0af656c52fa19cf9a46bb5bfe503ea0da99c979 (patch) | |
tree | 7ce3f5088015069cd1756b6c3004fb4553792f8c /test | |
parent | test-path: Set umask explicitly (#8616) (diff) | |
download | systemd-c0af656c52fa19cf9a46bb5bfe503ea0da99c979.tar.xz systemd-c0af656c52fa19cf9a46bb5bfe503ea0da99c979.zip |
test-execute/exec-specifier.service: fix quoting
The lines would cause the whole service to fail to be loaded.
Diffstat (limited to 'test')
-rw-r--r-- | test/test-execute/exec-specifier.service | 4 | ||||
-rw-r--r-- | test/test-execute/exec-specifier@.service | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/test/test-execute/exec-specifier.service b/test/test-execute/exec-specifier.service index 37852390ac..70227eac68 100644 --- a/test/test-execute/exec-specifier.service +++ b/test/test-execute/exec-specifier.service @@ -16,8 +16,8 @@ ExecStart=/usr/bin/test %C = /var/cache ExecStart=/usr/bin/test %L = /var/log ExecStart=/bin/sh -c 'test %u = $$(id -un 0)' ExecStart=/usr/bin/test %U = 0 -ExecStart=/bin/sh -c 'test %h = $$(getent passwd 0 | cut -d: -f 6) -ExecStart=/bin/sh -c 'test %s = $$(getent passwd 0 | cut -d: -f 7) +ExecStart=/bin/sh -c 'test %h = $$(getent passwd 0 | cut -d: -f 6)' +ExecStart=/bin/sh -c 'test %s = $$(getent passwd 0 | cut -d: -f 7)' ExecStart=/bin/sh -c 'test %m = $$(cat /etc/machine-id)' ExecStart=/bin/sh -c 'test %b = $$(cat /proc/sys/kernel/random/boot_id | sed -e 's/-//g')' ExecStart=/bin/sh -c 'test %H = $$(hostname)' diff --git a/test/test-execute/exec-specifier@.service b/test/test-execute/exec-specifier@.service index 0015dffca6..a90af5aee4 100644 --- a/test/test-execute/exec-specifier@.service +++ b/test/test-execute/exec-specifier@.service @@ -16,8 +16,8 @@ ExecStart=/usr/bin/test %C = /var/cache ExecStart=/usr/bin/test %L = /var/log ExecStart=/bin/sh -c 'test %u = $$(id -un 0)' ExecStart=/usr/bin/test %U = 0 -ExecStart=/bin/sh -c 'test %h = $$(getent passwd 0 | cut -d: -f 6) -ExecStart=/bin/sh -c 'test %s = $$(getent passwd 0 | cut -d: -f 7) +ExecStart=/bin/sh -c 'test %h = $$(getent passwd 0 | cut -d: -f 6)' +ExecStart=/bin/sh -c 'test %s = $$(getent passwd 0 | cut -d: -f 7)' ExecStart=/bin/sh -c 'test %m = $$(cat /etc/machine-id)' ExecStart=/bin/sh -c 'test %b = $$(cat /proc/sys/kernel/random/boot_id | sed -e 's/-//g')' ExecStart=/bin/sh -c 'test %H = $$(hostname)' |