]> git.ipfire.org Git - thirdparty/systemd.git/blame - test/test-execute/exec-environment-no-substitute.service
resolved: add missing error code check when initializing DNS-over-TLS
[thirdparty/systemd.git] / test / test-execute / exec-environment-no-substitute.service
CommitLineData
7ca69792
AZ
1[Unit]
2Description=Test for No Environment Variable Substitution
3
4[Service]
5ExecStart=/bin/sh -x -c 'test "$${VAR1-unset}" = "unset" && test "$${VAR2}" = "word3" && test "$${VAR3-unset}" = \'$word 5 6\''
6ExecStart=:/bin/sh -x -c 'test "$${VAR1-unset}" != "unset" && test "$${VAR2}" != "word3" && test "$${VAR3-unset}" != \'$word 5 6\''
7Type=oneshot
8Environment="VAR2=word3" "VAR3=$word 5 6"