]> git.ipfire.org Git - thirdparty/systemd.git/blob - test/test-execute/exec-passenvironment-empty.service
tests: add spdx license header to test unit/link/network/conf files
[thirdparty/systemd.git] / test / test-execute / exec-passenvironment-empty.service
1 # SPDX-License-Identifier: LGPL-2.1-or-later
2 [Unit]
3 Description=Test for PassEnvironment and erasing the variable list
4
5 [Service]
6 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"'
7 Type=oneshot
8 PassEnvironment=VAR1 VAR2 VAR3 VAR4 VAR5
9 PassEnvironment=