]> git.ipfire.org Git - thirdparty/systemd.git/blob - test/test-execute/exec-environment.service
test-execute: Fix systemd escaping and shell issues
[thirdparty/systemd.git] / test / test-execute / exec-environment.service
1 [Unit]
2 Description=Test for Environment
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 Environment="VAR1=word1 word2" VAR2=word3 "VAR3=$word 5 6"