summaryrefslogtreecommitdiffstats
path: root/src/test/test-fileio.c (follow)
Commit message (Expand)AuthorAgeFilesLines
* meson: enable -Wzero-as-null-pointer-constantMike Yuan2025-01-161-1/+1
* journald: get rid of get_process_capeff(), use pidref_get_capability() insteadLennart Poettering2024-12-171-18/+0
* basic/fileio: clean up executable_is_script() a bitMike Yuan2024-12-111-8/+4
* tree-wide: replace for loop with FOREACH_ELEMENT or FOREACH_ARRAY macros (#34...Integral2024-10-261-3/+3
* tree-wide: drop doubled empty linesYu Watanabe2024-10-071-1/+0
* ASSERT_STREQ for simple casesIvan Kruglov2024-04-151-74/+74
* ASSERT_NULL/ASSERT_NOT_NULLIvan Kruglov2024-04-101-5/+5
* process-util: add new FORK_DEATHSIG_SIGKILL flag, rename FORK_DEATHSIG → FO...Lennart Poettering2023-11-021-1/+1
* env-util: make write_env_file() optionally take headersYu Watanabe2023-10-311-2/+2
* io-util: split out "struct iovec" related calls into their own .c/.h filesLennart Poettering2023-10-201-1/+1
* test: Remove unnecessary test prefixJan Janssen2023-10-151-2/+2
* fileio: revamp search_and_fopen()Lennart Poettering2023-10-051-0/+23
* tree-wide: use cocinnelle to apply _NEG_ macrosZbigniew Jędrzejewski-Szmek2023-08-161-1/+1
* test: fix use of ERRNO_IS_PRIVILEGE()Dmitry V. Levin2023-07-161-1/+1
* test: don't assume yum is a scriptFrançois Rigault2023-06-241-1/+0
* tree-wide: Fix false positives on newer gccDaan De Meyer2023-05-231-2/+2
* test: handle one more error gracefullyYu Watanabe2023-04-071-1/+2
* env: add load_env_file_pairs_fd()Luca Boccassi2023-03-281-13/+23
* fileio: add new helper fdopen_independent()Lennart Poettering2023-03-231-0/+43
* test-fileio: add test for return value of read_one_line_file()Zbigniew Jędrzejewski-Szmek2023-03-231-0/+36
* process-util: add helper get_process_threads()Lennart Poettering2023-02-171-5/+1
* tree-wide: use -EBADF moreYu Watanabe2022-12-201-1/+1
* tree-wide: use -EBADF for fd initializationZbigniew Jędrzejewski-Szmek2022-12-191-4/+4
* basic: rename util.h to logarithm.hZbigniew Jędrzejewski-Szmek2022-11-081-1/+0
* tree-wide: do not use "re" with fmemopenZbigniew Jędrzejewski-Szmek2022-10-191-2/+2
* resolved,test-fileio: use "re" when opening filesZbigniew Jędrzejewski-Szmek2022-10-191-6/+6
* fileio: port read_file_full() to use connect_unix_path()Lennart Poettering2022-05-131-3/+8
* systemctl: fix silent failure when --root is not foundZbigniew Jędrzejewski-Szmek2022-03-291-2/+1
* strv: declare iterator of FOREACH_STRING() in the loopZbigniew Jędrzejewski-Szmek2022-03-231-1/+0
* strv: make iterator in STRV_FOREACH() declaread in the loopYu Watanabe2022-03-191-5/+0
* test: Use TEST macroJan Janssen2021-11-251-97/+35
* test: use assert_se() instead of assert()Yu Watanabe2021-10-121-2/+2
* test-fileio: test read_virtual_file() with more files from /procLennart Poettering2021-09-161-2/+10
* fileio: optionally allow interpreting file size as limitLennart Poettering2021-07-081-0/+19
* test-fileio: run read_virtual_file() for a couple of more interesting sizesLennart Poettering2021-05-211-0/+4
* test-fileio: fix confusing log outputLennart Poettering2021-05-211-2/+5
* Merge pull request #18863 from keszybz/cmdline-escapingLennart Poettering2021-05-071-17/+50
|\
| * test-fileio: modernizationZbigniew Jędrzejewski-Szmek2021-05-051-13/+44
| * basic/fileio: add a mode to read_full_virtual_file() where not the whole file...Zbigniew Jędrzejewski-Szmek2021-05-051-4/+6
* | fileio: optionally, return discovered path of file in search_and_fopen()Lennart Poettering2021-05-071-31/+56
|/
* test-fileio: test for read_full_virtual_file()Zbigniew Jędrzejewski-Szmek2021-03-301-0/+20
* tree-wide: use UINT64_MAX or friendsYu Watanabe2021-03-041-11/+11
* fileio: teach read_full_file_full() to read from offset/with maximum sizeLennart Poettering2020-12-011-2/+47
* license: LGPL-2.1+ -> LGPL-2.1-or-laterYu Watanabe2020-11-091-1/+1
* fileio: beef up READ_FULL_FILE_CONNECT_SOCKET to allow setting sender socket ...Lennart Poettering2020-11-031-3/+16
* test: use pclose() for popen()Zbigniew Jędrzejewski-Szmek2020-09-141-1/+1
* test-fileio: test test strings with shell, tooLennart Poettering2020-09-141-0/+16
* test-fileio: use test strings that are actually valid in shellLennart Poettering2020-09-141-3/+3
* fileio: add support for read_full_file() on AF_UNIX stream socketsLennart Poettering2020-07-211-0/+50
* macro: introduce DISABLE_WARNING_TYPE_LIMITS and make use of it everywhereLennart Poettering2020-05-251-3/+2