summaryrefslogtreecommitdiff
path: root/test/testsuite-10.units
Commit message (Collapse)AuthorAgeFilesLines
* test: merge TEST-10-ISSUE-2467 with TEST-07-PID1Frantisek Sumsal2023-05-102-13/+0
|
* tests: add spdx license header to test unit/link/network/conf filesZbigniew Jędrzejewski-Szmek2021-10-182-0/+2
| | | | | | | | 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.
* core: Check unit start rate limiting earlierDaan De Meyer2021-08-251-0/+3
| | | | | | | | | | | | | Fixes #17433. Currently, if any of the validations we do before we check start rate limiting fail, we can still enter a busy loop as no rate limiting gets applied. A common occurence of this scenario is path units triggering a service that fails a condition check. To fix the issue, we simply move up start rate limiting checks to be the first thing we do when starting a unit. To achieve this, we add a new method to the unit vtable and implement it for the relevant unit types so that we can do the start rate limit checks earlier on.
* test: move TEST-10-ISSUE-2467 setup to static filesZbigniew Jędrzejewski-Szmek2020-03-282-0/+8