summaryrefslogtreecommitdiffstats
path: root/test/units/generator-utils.sh (follow)
Commit message (Collapse)AuthorAgeFilesLines
* TEST-81-GENERATORS: Do a lazy unmountsDaan De Meyer2024-05-081-1/+1
| | | | | | Otherwise we might fail if PID 1 is currently accessing these files. Fixes #32692 (hopefully)
* fstab-generator: drop unapplicable mount options for / from mount unit Options=Mike Yuan2023-10-271-5/+3
| | | | | | | | Prompted by #29705 Note that x-systemd.wanted-by= and x-systemd.required-by= are not dropped, since we ignore them because they are unnecessary rather than unapplicable.
* test: add +x to generator-utils.shLuca Boccassi2023-07-071-0/+0
| | | | | | It is marked and named as a script, so add +x otherwise Lintian complains: W: systemd-tests: script-not-executable [usr/lib/systemd/tests/testdata/units/generator-utils.sh]
* test: properly distinguish between generator phasesFrantisek Sumsal2023-04-141-1/+2
| | | | | Let's make sure the units generated by generators are generated at the right stage.
* test: allow overriding PID1's environment for test purposesFrantisek Sumsal2023-04-141-0/+18
|
* test: run the generators with debug log levelFrantisek Sumsal2023-04-141-1/+1
| | | | unless requested otherwise.
* test: introduce TEST-81-GENERATORSFrantisek Sumsal2023-04-061-0/+61
Add some explicit tests for various generators we ship, e.g.: - systemd-debug-generator - systemd-environment-d-generator - systemd-fstab-generator