summaryrefslogtreecommitdiff
path: root/src/test/test-exit-status.c
Commit message (Collapse)AuthorAgeFilesLines
* test: Use TEST macroJan Janssen2021-11-251-18/+4
| | | | | | | | | This converts to TEST macro where it is trivial. Some additional notable changes: - simplify HAVE_LIBIDN #ifdef in test-dns-domain.c - use saved_argc/saved_argv in test-copy.c, test-path-util.c, test-tmpfiles.c and test-unit-file.c
* license: LGPL-2.1+ -> LGPL-2.1-or-laterYu Watanabe2020-11-091-1/+1
|
* tree-wide: various code-formatting improvementsFrantisek Sumsal2019-09-221-1/+1
| | | | Reported/found by Coccinelle
* shared/exit-status: fix lookupZbigniew Jędrzejewski-Szmek2019-08-051-0/+11
| | | | | | | FLAGS_SET() is the wrong operator here, because we want to see if *any* bits are set. Add test. https://github.com/systemd/systemd/pull/12884#issuecomment-518238410
* shared/exit-status: add exit_status_from_string()Zbigniew Jędrzejewski-Szmek2019-07-291-0/+15
|
* shared/exit-status: turn status level into a bitmask, add "test"Zbigniew Jędrzejewski-Szmek2019-07-291-0/+26
The "test" doesn't really test much automatically, but it is still useful to look at the mappings.