summaryrefslogtreecommitdiffstats
path: root/src/test/test-path-util.c (follow)
Commit message (Expand)AuthorAgeFilesLines
* Try path without sbin even if compiled with split-bin=trueZbigniew Jędrzejewski-Szmek2024-04-221-2/+2
* ASSERT_STREQ for simple casesIvan Kruglov2024-04-151-101/+101
* ASSERT_NULL/ASSERT_NOT_NULLIvan Kruglov2024-04-101-2/+2
* Drop unnecessary path_equal_ptr() wrapperZbigniew Jędrzejewski-Szmek2024-03-231-12/+14
* Added more ASSERT macro and also make some test file to use themUnique-Usman2024-03-221-4/+4
* path-util: add helper that checks if a path definitely refers to a dirLennart Poettering2024-03-141-0/+24
* test: minix fsck not found on alphaLuca Boccassi2023-11-171-2/+2
* basic/path-util: make path_simplify() skip leading '/..'Zbigniew Jędrzejewski-Szmek2023-09-211-1/+41
* basic/path-util: do not say that /dev and /sys are device pathsZbigniew Jędrzejewski-Szmek2023-09-181-14/+14
* test-path-util: add simple test for is_path() and is_device_path()Zbigniew Jędrzejewski-Szmek2023-09-181-4/+94
* path-util: Add path_simplify_full()Daan De Meyer2023-08-171-20/+23
* test: add more test cases about path_startswith()Yu Watanabe2023-06-051-0/+11
* stat-util: rename files_same() → inode_same()Lennart Poettering2023-05-191-20/+20
* chase: replace path_prefix_root_cwd() with chaseat_prefix_root()Yu Watanabe2023-04-181-39/+0
* path-util: introduce path_prefix_root_cwd()Yu Watanabe2023-04-101-0/+39
* test: add tests about iterator position for path_find_{first,last}_component()Yu Watanabe2023-04-101-4/+23
* path-util: introduce path_compare_filename()Yu Watanabe2023-04-071-5/+49
* path-util: rework file_in_same_dir() on top of path_extract_directory()Lennart Poettering2023-01-241-10/+6
* tree-wide: use -EBADF for fd initializationZbigniew Jędrzejewski-Szmek2022-12-191-2/+2
* basic: rename util.h to logarithm.hZbigniew Jędrzejewski-Szmek2022-11-081-1/+0
* tree-wide: use STRERROR()Zbigniew Jędrzejewski-Szmek2022-10-111-8/+8
* generator: skip fsck if fsck command is missingJonas Kümmerlin2022-09-301-3/+3
* path-util: introduce path_make_relative_parent()Yu Watanabe2022-09-021-0/+27
* path-util: introduce path_glob_can_match()Yu Watanabe2022-08-171-0/+38
* Move systemd_installation_has_version() to src/nspawn/Zbigniew Jędrzejewski-Szmek2022-04-071-15/+0
* strv: make iterator in STRV_FOREACH() declaread in the loopYu Watanabe2022-03-191-1/+0
* test: Use TEST macroJan Janssen2021-11-251-122/+36
* alloc-util: add strdupa_safe() + strndupa_safe() and use it everywhereLennart Poettering2021-10-141-1/+1
* core: Add ExecSearchPath parameter to specify the directory relative to which...alexlzhu2021-09-281-5/+23
* path-util: teach find_executable_full how to look into the root directoryMaanya Goenka2021-08-101-5/+5
* Drop the text argument from assert_not_reached()Zbigniew Jędrzejewski-Szmek2021-08-031-2/+2
* test-path-util: check that dot components are irrelevant for path comparisonsZbigniew Jędrzejewski-Szmek2021-06-231-0/+8
* tree-wide: add missing whitespace at the end of commentsYu Watanabe2021-06-151-1/+1
* path-util: make path_simplify() use path_find_first_component()Yu Watanabe2021-05-281-28/+55
* tree-wide: always drop unnecessary dot in pathYu Watanabe2021-05-281-19/+12
* path-util: make path_extract_filename/directory() handle "." gracefullyYu Watanabe2021-05-281-20/+24
* path-util: introduce path_find_last_component()Yu Watanabe2021-05-281-0/+80
* path-util: make path_compare() and path_hash_func() ignore "."Yu Watanabe2021-05-281-34/+43
* path-util: use path_find_first_component() in path_make_relative()Yu Watanabe2021-05-281-19/+22
* path-util: use path_find_first_component() in path_startswith()Yu Watanabe2021-05-281-39/+32
* path-util: introduce path_is_safe()Yu Watanabe2021-05-281-19/+31
* path-util: introduce path_find_first_component()Yu Watanabe2021-05-281-0/+85
* path-util: fix off by one issue to detect slash at the end in path_extend()Yu Watanabe2021-05-281-2/+8
* path-util: add path_extend(), inspired by strextend(), but using path_join()Lennart Poettering2021-05-271-0/+22
* basic: add path_equal_filename helperLuca Boccassi2021-04-071-0/+5
* test: output FILENAME_MAX vs. PATH_MAX sizesLennart Poettering2021-03-081-0/+9
* path-util: return O_DIRECTORY from path_extract_filename() when path ends in ...Lennart Poettering2021-03-021-6/+9
* path-util: add path_extract_directory(), to match path_extract_filename()Lennart Poettering2021-03-021-0/+59
* test: add more tests for path_startswith()Yu Watanabe2021-02-201-0/+3
* path-util: tighten path_is_valid() checksLennart Poettering2021-02-031-5/+36