summaryrefslogtreecommitdiffstats
path: root/test/test-execute/exec-execsearchpath-environment.service
blob: b0fa6a36e49604e2dbd27a39692487750b64e3af (plain)
1
2
3
4
5
6
# SPDX-License-Identifier: LGPL-2.1-or-later
[Service]
ExecStart=/bin/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"