summaryrefslogtreecommitdiff
path: root/src/test/test-fs-util.c
Commit message (Expand)AuthorAgeFilesLines
* tree-wide: drop de-constifying casts for strv iterationZbigniew Jędrzejewski-Szmek2022-05-081-2/+2
* fs-util: make sure openat_report_new() initializes return param also on shortcutLennart Poettering2022-03-231-0/+18
* fs-util: add openat_report_new() wrapper around openat()Lennart Poettering2022-03-211-0/+50
* strv: make iterator in STRV_FOREACH() declaread in the loopYu Watanabe2022-03-191-1/+0
* test: fix file descriptor leak in test-fs-utilYu Watanabe2022-02-231-1/+4
* test: allow to set NULL to intro or outroYu Watanabe2022-02-021-1/+1
* tests: rework test macros to not take code as parametersLennart Poettering2022-02-021-1/+6
* test: Use TEST macroJan Janssen2021-11-251-67/+17
* fs-util: add new helper open_mkdir_at()Lennart Poettering2021-11-171-0/+44
* umask-util: add helper that resets umask until end of current code blockLennart Poettering2021-11-121-1/+2
* fs-util: add helper that can split CIFS services namesLennart Poettering2021-10-271-0/+31
* basic: spit out chase_symlinks() from fs-util.[ch] → chase-symlinks.[ch]Lennart Poettering2021-10-051-0/+1
* basic: split out sync() family of calls from fs-util.[ch] into new c/h fileLennart Poettering2021-10-051-0/+1
* fs-util: rewrite rmdir_parents() with path_find_last_component()Yu Watanabe2021-09-071-0/+55
* basic,shared: move a bunch of files to src/shared/Zbigniew Jędrzejewski-Szmek2021-06-241-33/+0
* tree-wide: add missing whitespace at the end of commentsYu Watanabe2021-06-151-1/+1
* fs-util: make chase_symlinks() use path_find_first_component()Yu Watanabe2021-05-281-2/+2
* tree-wide: use UINT64_MAX or friendsYu Watanabe2021-03-051-1/+1
* test-fs-util: beef up test for conservative_renameat()Lennart Poettering2021-02-041-6/+22
* fs-util: rename conservative_rename() -> conservative_renameat()Yu Watanabe2021-01-221-7/+7
* fs-util: add conservative_rename() that suppresses unnecessary renamesLennart Poettering2020-12-021-0/+48
* license: LGPL-2.1+ -> LGPL-2.1-or-laterYu Watanabe2020-11-091-1/+1
* fs-util: drop chmod_and_chown_unsafe() which is unused nowLennart Poettering2020-09-231-45/+0
* test: accept that char device 0/0 can now be created witout privilegesLennart Poettering2020-08-171-6/+6
* test-fs-util: skip encrypted path test if we get EACCESTopi Miettinen2020-08-171-5/+6
* test-fs-util: do not assume /dev is always realZbigniew Jędrzejewski-Szmek2020-07-281-2/+5
* test-fs-util: use log_info instead of printfZbigniew Jędrzejewski-Szmek2020-07-141-1/+1
* fs-util: teach unlinkat_deallocate() a simple scheme for overwriting for erasingLennart Poettering2020-05-191-1/+1
* test-fs-util: don't fail on btrfs file systems in containersLennart Poettering2020-05-191-0/+6
* fs-util: add helper path_is_encrypted() that checks if a file system is encry...Lennart Poettering2020-05-071-0/+23
* basic/fs-util: add a version of chmod_and_chown that doesn not use /procZbigniew Jędrzejewski-Szmek2020-03-031-0/+45
* test: fix rename_noreplace() testLennart Poettering2020-01-281-2/+2
* test: make sure chase_symlink() returns normalized pathsLennart Poettering2020-01-281-0/+1
* test: add test for the non-resolving of chase_symlink() root prefixLennart Poettering2020-01-281-0/+9
* basic/fs-util: change CHASE_OPEN flag into a separate output parameterZbigniew Jędrzejewski-Szmek2019-10-241-51/+53
* test-fs-util: call test functions in order of declarationZbigniew Jędrzejewski-Szmek2019-07-191-2/+2
* test-fs-util: don't validate mode of symlinksLennart Poettering2019-05-241-1/+0
* tests: add simple test case for chmod_and_chown()Lennart Poettering2019-05-241-0/+46
* test-fs-util: test chase_symlinks with user-owned dirsDavid Michael2019-02-281-0/+24
* util.h: add new UNPROTECT_ERRNO macroLennart Poettering2019-02-081-3/+3
* Revert "nss: prevent PROTECT_ERRNO from squashing changes to *errnop"Zbigniew Jędrzejewski-Szmek2019-01-101-3/+3
* nss: prevent PROTECT_ERRNO from squashing changes to *errnopSam Morris2019-01-101-3/+3
* Merge pull request #10984 from fbuihuu/tmpfiles-be-more-explicit-with-unsafe-...Lennart Poettering2018-12-101-2/+2
|\
| * fs-util: make chase_symlink() returns -ENOLINK when unsafe transitions are metFranck Bui2018-12-101-2/+2
* | test: remove duplicate #includeLennart Poettering2018-12-021-1/+0
* | util-lib: split out all temporary file related calls into tmpfiles-util.cLennart Poettering2018-12-021-1/+1
|/
* test: fix memleak in test-fs-utilYu Watanabe2018-10-041-6/+6
* test-fs-util: run all tests on the specified directoryZbigniew Jędrzejewski-Szmek2018-10-041-33/+79
* test-fs-util: simplify testdir creationZbigniew Jędrzejewski-Szmek2018-10-031-8/+4
* test: add test case for rename_noreplace()Lennart Poettering2018-10-021-0/+72