]> git.ipfire.org Git - thirdparty/systemd.git/blob - test/test-execute/exec-environment-no-substitute.service
Merge pull request #11827 from keszybz/pkgconfig-variables
[thirdparty/systemd.git] / test / test-execute / exec-environment-no-substitute.service
1 [Unit]
2 Description=Test for No Environment Variable Substitution
3
4 [Service]
5 ExecStart=/bin/sh -x -c 'test "$${VAR1-unset}" = "unset" && test "$${VAR2}" = "word3" && test "$${VAR3-unset}" = \'$word 5 6\''
6 ExecStart=:/bin/sh -x -c 'test "$${VAR1-unset}" != "unset" && test "$${VAR2}" != "word3" && test "$${VAR3-unset}" != \'$word 5 6\''
7 Type=oneshot
8 Environment="VAR2=word3" "VAR3=$word 5 6"