summaryrefslogtreecommitdiffstats
path: root/src/test/test-fileio.c (follow)
Commit message (Expand)AuthorAgeFilesLines
* 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
* util-lib: split out env file parsing code into env-file.cLennart Poettering2018-12-021-0/+1
* util-lib: split out all temporary file related calls into tmpfiles-util.cLennart Poettering2018-12-021-0/+1
* test: remove unnecessary includeLennart Poettering2018-12-021-1/+0
* fileio: automatically add NULL sentinel to parse_env_file()Lennart Poettering2018-11-141-2/+1
* fileio: drop "newline" parameter for env file parsersLennart Poettering2018-11-141-6/+6
* Introduce fmkostemp_safe and use it in testsZbigniew Jędrzejewski-Szmek2018-10-261-43/+21
* tests: use a helper function to parse environment and open loggingZbigniew Jędrzejewski-Szmek2018-09-141-3/+2
* tree-wide: remove Lennart's copyright linesLennart Poettering2018-06-141-3/+0
* tree-wide: drop 'This file is part of systemd' blurbLennart Poettering2018-06-141-2/+0
* fileio: accept FILE* in addition to path in parse_env_file()Lennart Poettering2018-05-241-1/+1
* Merge pull request #8993 from keszybz/sd-resolve-coverity-and-related-fixesLennart Poettering2018-05-181-1/+1
|\
| * tree-wide: do not wrap assert_se in extra parenthesesZbigniew Jędrzejewski-Szmek2018-05-141-1/+1
* | fs-util,test: add helper to remove tempfilesZbigniew Jędrzejewski-Szmek2018-05-181-41/+23
|/
* tree-wide: drop spurious newlines (#8764)Lennart Poettering2018-04-191-1/+0
* tree-wide: drop license boilerplateZbigniew Jędrzejewski-Szmek2018-04-061-13/+0
* tests: close a leftover file descriptor in `test-fileio`Evegeny Vereshchagin2018-03-051-1/+2
* tests: stop using `freopen` in `test-fileio`Evegeny Vereshchagin2018-03-051-3/+6
* tree-wide: make use of new STRLEN() macro everywhere (#7639)Lennart Poettering2017-12-141-1/+1
* Add SPDX license identifiers to source files under the LGPLZbigniew Jędrzejewski-Szmek2017-11-191-0/+1
* Remove a bunch of unused variablesZbigniew Jędrzejewski-Szmek2017-11-011-1/+0
* tree-wide: use IN_SET macro (#6977)Yu Watanabe2017-10-041-4/+4
* test-cpu-set-util.c: fix typo in comment (#6916)Jan Synacek2017-09-261-3/+3
|\
| * io-util: add new IOVEC_INIT/IOVEC_MAKE macrosLennart Poettering2017-09-221-3/+3
* | Merge pull request #6891 from poettering/read-lineZbigniew Jędrzejewski-Szmek2017-09-241-2/+84
|\ \
| * | test-fileio: also test read_line() with actual filesZbigniew Jędrzejewski-Szmek2017-09-241-13/+51
| * | test-fileio: close two leaked file handlesZbigniew Jędrzejewski-Szmek2017-09-241-2/+2