]> git.ipfire.org Git - thirdparty/systemd.git/blob - test/test-execute/exec-passenvironment-repeated.service
test-execute: Add tests for new PassEnvironment= directive
[thirdparty/systemd.git] / test / test-execute / exec-passenvironment-repeated.service
1 [Unit]
2 Description=Test for PassEnvironment with a variable name repeated
3
4 [Service]
5 ExecStart=/bin/sh -x -c 'test "$$VAR1" = "word1 word2" && test "$$VAR2" = word3 && test "$$VAR3" = "\\$$word 5 6"'
6 Type=oneshot
7 PassEnvironment=VAR1 VAR2
8 PassEnvironment=VAR1 VAR3