summaryrefslogtreecommitdiff
path: root/src/test/test-fileio.c
Commit message (Expand)AuthorAgeFilesLines
* 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-051-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
* 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