2021-10-17 16:07:22 +00:00
|
|
|
# SPDX-License-Identifier: LGPL-2.1-or-later
|
2015-11-08 18:37:05 +00:00
|
|
|
[Unit]
|
|
|
|
Description=Test for PassEnvironment with a variable name repeated
|
|
|
|
|
|
|
|
[Service]
|
2024-01-04 14:24:52 +00:00
|
|
|
ExecStart=sh -x -c 'test "$$VAR1" = "word1 word2" && test "$$VAR2" = word3 && test "$$VAR3" = "\\$$word 5 6" && test "$$VAR4" = "new\nline" && test "$$VAR5" = passwordwithbackslashes'
|
2015-11-08 18:37:05 +00:00
|
|
|
Type=oneshot
|
|
|
|
PassEnvironment=VAR1 VAR2
|
|
|
|
PassEnvironment=VAR1 VAR3
|
2018-03-16 23:30:42 +00:00
|
|
|
PassEnvironment=VAR1 VAR4
|
2018-05-10 13:28:10 +00:00
|
|
|
PassEnvironment=VAR1 VAR5
|