summaryrefslogtreecommitdiff
path: root/src/analyze/test-verify.c
Commit message (Collapse)AuthorAgeFilesLines
* test: Use TEST macros in more placesJan Janssen2022-03-161-6/+2
|
* analyze: split out "verify" verb into own .c/.h fileLennart Poettering2022-02-211-1/+2
| | | | | | | This renames the old analyze-verify.[ch] pair → analyze-verify-util.[ch], because it's used by the test logic as well, and by keeping it separate from the verify verb logic we don't have to import the arg_xyz variables.
* systemd-analyze: add root to find and verify executableMaanya Goenka2021-08-101-4/+4
|
* license: LGPL-2.1+ -> LGPL-2.1-or-laterYu Watanabe2020-11-091-1/+1
|
* verify: ignore nonexistent executables if requiredGiedrius Statkevičius2020-04-141-0/+19
We provide a way via the '-' symbol to ignore errors when nonexistent executable files are passed to Exec* parameters & so on. In such a case, the flag `EXEC_COMMAND_IGNORE_FAILURE` is set and we go on happily with our life if that happens. However, `systemd-analyze verify` complained about missing executables even in such a case. In such a case it is not an error for this to happen so check if the flag is set before checking if the file is accessible and executable. Add some small tests to check this condition. Closes #15218.