summaryrefslogtreecommitdiffstats
path: root/src/test/test-fileio.c (follow)
Commit message (Expand)AuthorAgeFilesLines
* 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
* tests: various small fixes for strict systemsTopi Miettinen2020-04-261-1/+4
* test-fileio: fix bogus error when /proc/cmdline contains newlinesZbigniew Jędrzejewski-Szmek2020-03-281-8/+8
* test-fileio: cast EOF to (char) before comparing with char explicitlyLennart Poettering2019-11-261-5/+10
* tree-wide: drop duplicated blank linesYu Watanabe2019-07-151-1/+0
* test: minor modernizationZbigniew Jędrzejewski-Szmek2019-07-121-2/+2
* codespell: fix spelling errorsBen Boeckel2019-04-291-1/+1
* Add fmemopen_unlocked() and use unlocked ops in fuzzers and some other testsZbigniew Jędrzejewski-Szmek2019-04-121-4/+4
* test-fileio: do not use variable before checking return valueZbigniew Jędrzejewski-Szmek2019-03-271-1/+5
* test-fileio: avoid warning about ineffective comparisonZbigniew Jędrzejewski-Szmek2019-03-201-1/+7
* util-lib: follow shell syntax for escape in quotesLouis Taylor2019-01-171-9/+25
* test-fileio: add explicit check for safe_fgetc() with 0xFFLennart Poettering2018-12-201-4/+5
* fileio: fix read_one_line() when reading bytes > 0x7FLennart Poettering2018-12-201-2/+2
* test-fileio: test safe_fgetc directlyZbigniew Jędrzejewski-Szmek2018-12-181-2/+30
* test: add test case for read_nul_string()Lennart Poettering2018-12-181-0/+35
* tests: add a test that checks read_line() properly handles line endings at EOFLennart Poettering2018-12-141-0/+36
* fileio: make read_line() handle various line endings correctlyLennart Poettering2018-12-141-4/+29