diff options
author | Frantisek Sumsal <frantisek@sumsal.cz> | 2021-04-09 19:49:32 +0200 |
---|---|---|
committer | Frantisek Sumsal <frantisek@sumsal.cz> | 2021-04-13 12:08:01 +0200 |
commit | 38825267983a439f2cf8375463b1edc9ca2d3323 (patch) | |
tree | 0150f121710959c1204162517850c55765976092 /test/units/testsuite-20.sh | |
parent | 084575ff91e4291e1659ddfb6f2b74d10adc5fb0 (diff) | |
download | systemd-38825267983a439f2cf8375463b1edc9ca2d3323.tar.gz |
test: use quotes where necessary
to avoid possible word splitting.
Diffstat (limited to 'test/units/testsuite-20.sh')
-rwxr-xr-x | test/units/testsuite-20.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/units/testsuite-20.sh b/test/units/testsuite-20.sh index 56f07933a9..111713dabf 100755 --- a/test/units/testsuite-20.sh +++ b/test/units/testsuite-20.sh @@ -140,7 +140,7 @@ systemd-run --unit=test20-mainpidsh3.service \ && { echo 'unexpected success'; exit 1; } # Test that this failed due to timeout, and not some other error -test $(systemctl show -P Result test20-mainpidsh3.service) = timeout +test "$(systemctl show -P Result test20-mainpidsh3.service)" = timeout systemd-analyze log-level info |