]> git.ipfire.org Git - thirdparty/systemd.git/blob - test/test-execute/exec-execsearchpath-passenvironment-set.service
bpf: fix SPDX short identifier for LGPL-2.1-or-later
[thirdparty/systemd.git] / test / test-execute / exec-execsearchpath-passenvironment-set.service
1 [Unit]
2 Description=Test for PassEnvironment with ExecSearchPath with PATH set by user
3
4 [Service]
5 ExecStart=/bin/sh -x -c 'test "$$VAR1" = "word1 word2" && test "$$VAR2" = word3 && test "$$VAR3" = "\\$$word 5 6" && test "$$VAR4" = "new\nline" && test "$$VAR5" = passwordwithbackslashes && test "$$PATH" = "/usr"'
6 Type=oneshot
7 PassEnvironment=VAR1 VAR2 VAR3 VAR4 VAR5 PATH
8 ExecSearchPath=/tmp:/bin