summaryrefslogtreecommitdiff
path: root/src/test/test-sd-path.c
Commit message (Collapse)AuthorAgeFilesLines
* test: Use TEST macroJan Janssen2021-11-251-12/+3
| | | | | | | | | 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
|
* sd-path: handle case of missing runtime dir in testZbigniew Jędrzejewski-Szmek2020-03-271-4/+12
| | | | Also document it in the man page.
* sd-path: rename the two functionsZbigniew Jędrzejewski-Szmek2020-03-271-10/+10
| | | | | | | | | | | I think the two names were both pretty bad. They did not give a proper hint what the difference between the two functions is, and sd_path_home sounds like it is somehow related to /home or home directories or whatever, when in fact both functions return the same set of paths as either a colon-delimited string or a strv. "_strv" suffix is used by various functions in sd-bus, so let's reuse that. Those functions are not public yet, so let's rename.
* test-sd-path: basic test for the sd-path APIZbigniew Jędrzejewski-Szmek2020-03-271-0/+61