summaryrefslogtreecommitdiffstats
path: root/test/test-execute/exec-execsearchpath-environment.service
blob: 5c39d9ca63b28fc3c0fb341c0a7d5fbbd1f6c8fd (plain)
1
2
3
4
5
6
# SPDX-License-Identifier: LGPL-2.1-or-later
[Service]
ExecStart=sh -x -c 'test "$$VAR1" = "word1 word2" && test "$$VAR2" = word3 && test "$$VAR3" = "\\$$word 5 6" && test "$$PATH" = "/tmp:/bin"'
Type=oneshot
ExecSearchPath=/tmp:/bin
Environment="VAR1=word1 word2" VAR2=word3 "VAR3=$word 5 6"