summaryrefslogtreecommitdiff
path: root/test/test-execute/exec-passenvironment-absent.service
Commit message (Collapse)AuthorAgeFilesLines
* test: add testcase for environment file variables with backslashesJoost Heitbrink2018-05-111-2/+2
| | | | | systemd silently strips out backslashes in variables from environment files. Add a testcase that explicitly tests for this behaviour.
* test-execute: Introduce tests for environment values containing newlinesFilipe Brandenburger2018-03-161-2/+2
| | | | | | | Also fix one case where the presence of a newline was used to generate an invalid environment assignment. Tested: with mkosi, which builds the local tree and run ninja tests.
* test-execute: Add tests for new PassEnvironment= directiveFilipe Brandenburger2015-11-111-0/+7
Check the base case, plus erasing the list, listing the same variable name more than once and when variables are absent from the manager execution environment. Confirmed that `sudo ./test-execute` passes and that modifying the test cases (or the values of the set variables in test-execute.c) is enough to make the test cases fail.