summaryrefslogtreecommitdiffstats
path: root/test/test-execute/exec-ambientcapabilities-merge-nobody.service (follow)
Commit message (Collapse)AuthorAgeFilesLines
* tests: use relative paths in ExecStart= and friendsZbigniew Jędrzejewski-Szmek2024-01-091-1/+1
| | | | | | We want to retain *some* of the full paths in order to test more code paths. But the default should be to use the command name only. This makes the tests less visually cluttered.
* tests: add spdx license header to test unit/link/network/conf filesZbigniew Jędrzejewski-Szmek2021-10-181-0/+1
| | | | | | | | Those are all consumed by our parser, so they all support comments. I was considering whether they should have a license header at all, but in the end I decided to add it because those files are often created by copying parts of real unit files. And if the real ones have a license, then those might as well. It's easier to add it than to make an exception.
* test-execute: use CAP_CHOWN instead of CAP_NET_ADMINYu Watanabe2018-03-041-2/+2
| | | | | | CAP_NET_ADMIN is somtrimes dropped by container runtime. This changes to use CAP_CHOWN instead of CAP_NET_ADMIN, as it is less likely to be dropped.
* test-execute: rename tests for AmbientCapabilities=Yu Watanabe2018-03-041-0/+9
The unit files for test-execute are named like `exec-(setting-name-in-lower-character)-(optional-text).service`. However, test units for AmbientCapabilities= are not following this. So, let's rename them for the consistency. This does not change anything in the functionality of the test.