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