2021-10-17 18:07:22 +02:00
|
|
|
# SPDX-License-Identifier: LGPL-2.1-or-later
|
2015-11-08 10:37:05 -08:00
|
|
|
[Unit]
|
|
|
|
|
Description=Test for PassEnvironment with a variable name repeated
|
|
|
|
|
|
|
|
|
|
[Service]
|
2024-01-04 15:24:52 +01: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 10:37:05 -08:00
|
|
|
Type=oneshot
|
|
|
|
|
PassEnvironment=VAR1 VAR2
|
|
|
|
|
PassEnvironment=VAR1 VAR3
|
2018-03-16 16:30:42 -07:00
|
|
|
PassEnvironment=VAR1 VAR4
|
2018-05-10 15:28:10 +02:00
|
|
|
PassEnvironment=VAR1 VAR5
|