summaryrefslogtreecommitdiff
path: root/src/test/test-os-util.c
Commit message (Collapse)AuthorAgeFilesLines
* test: Use TEST macroJan Janssen2021-11-251-8/+2
| | | | | | | | | 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
|
* tests: use a helper function to parse environment and open loggingZbigniew Jędrzejewski-Szmek2018-09-141-3/+2
| | | | | The advantages are that we save a few lines, and that we can override logging using environment variables in more test executables.
* os-util: add helpers for finding /etc/os-releaseLennart Poettering2018-05-241-0/+22
Place this new helpers in a new source file os-util.[ch], and move the existing and related call path_is_os_tree() to it as well.