test/testdata/test-execute/exec-execsearchpath-environment.service
raw| 1 | # SPDX-License-Identifier: LGPL-2.1-or-later |
| 2 | [Service] |
| 3 | ExecStart=bash -x -c 'test "$$VAR1" = "word1 word2" && test "$$VAR2" = word3 && test "$$VAR3" = "\\$$word 5 6" && test "$$PATH" = "/tmp:/bin"' |
| 4 | Type=oneshot |
| 5 | ExecSearchPath=/tmp:/bin |
| 6 | Environment="VAR1=word1 word2" VAR2=word3 "VAR3=$word 5 6" |