]> git.ipfire.org Git - thirdparty/systemd.git/blob - test/test-execute/exec-passenvironment-empty.service
bpf: fix SPDX short identifier for LGPL-2.1-or-later
[thirdparty/systemd.git] / test / test-execute / exec-passenvironment-empty.service
1 [Unit]
2 Description=Test for PassEnvironment and erasing the variable list
3
4 [Service]
5 ExecStart=/bin/sh -x -c 'test "$${VAR1-unset}" = "unset" && test "$${VAR2-unset}" = "unset" && test "$${VAR3-unset}" = "unset" && test "$${VAR4-unset}" = "unset" && test "$${VAR5-unset}" = "unset"'
6 Type=oneshot
7 PassEnvironment=VAR1 VAR2 VAR3 VAR4 VAR5
8 PassEnvironment=