summaryrefslogtreecommitdiffstats
path: root/test/test-execute/exec-environment-empty.service
blob: 6c3118643f257d6c5e3c42ac1ad25b132ae5e7b1 (plain)
1
2
3
4
5
6
7
8
9
# SPDX-License-Identifier: LGPL-2.1-or-later
[Unit]
Description=Test for Environment

[Service]
ExecStart=/bin/sh -x -c 'test "$${VAR1-unset}" = "unset" && test "$${VAR2-unset}" = "unset" && test "$${VAR3-unset}" = "unset"'
Type=oneshot
Environment="VAR1=word1 word2" VAR2=word3 "VAR3=$word 5 6"
Environment=