summaryrefslogtreecommitdiff
path: root/src/test/test-fileio.c
AgeCommit message (Expand)AuthorFilesLines
2018-04-19tree-wide: drop spurious newlines (#8764)Lennart Poettering1-1/+0
2018-04-06tree-wide: drop license boilerplateZbigniew Jędrzejewski-Szmek1-13/+0
2018-03-05tests: close a leftover file descriptor in `test-fileio`Evegeny Vereshchagin1-1/+2
2018-03-05tests: stop using `freopen` in `test-fileio`Evegeny Vereshchagin1-3/+6
2017-12-14tree-wide: make use of new STRLEN() macro everywhere (#7639)Lennart Poettering1-1/+1
2017-11-19Add SPDX license identifiers to source files under the LGPLZbigniew Jędrzejewski-Szmek1-0/+1
2017-11-01Remove a bunch of unused variablesZbigniew Jędrzejewski-Szmek1-1/+0
2017-10-04tree-wide: use IN_SET macro (#6977)Yu Watanabe1-4/+4
2017-09-26test-cpu-set-util.c: fix typo in comment (#6916)Jan Synacek1-3/+3
2017-09-24Merge pull request #6891 from poettering/read-lineZbigniew Jędrzejewski-Szmek1-2/+84
2017-09-24test-fileio: also test read_line() with actual filesZbigniew Jędrzejewski-Szmek1-13/+51
2017-09-24test-fileio: close two leaked file handlesZbigniew Jędrzejewski-Szmek1-2/+2
2017-09-22fileio: make write_string_stream() accept flags parameterLennart Poettering1-5/+5
2017-09-22fileio: add new helper call read_line() as bounded getline() replacementLennart Poettering1-0/+44
2017-09-22io-util: add new IOVEC_INIT/IOVEC_MAKE macrosLennart Poettering1-3/+3
2017-02-20basic: support default and alternate values for env expansionRay Strode1-2/+14
2017-02-20Tighten checking for variable validityZbigniew Jędrzejewski-Szmek1-0/+40
2017-02-20Allow braceless variables to be expandedZbigniew Jędrzejewski-Szmek1-4/+10
2017-02-20basic: add new merge_env_file functionRay Strode1-0/+52
2017-02-20env-util,fileio: immediately replace variables in load_env_file_push()Zbigniew Jędrzejewski-Szmek1-0/+2
2016-10-23tree-wide: drop NULL sentinel from strjoinZbigniew Jędrzejewski-Szmek1-1/+1
2016-09-13fileio: simplify mkostemp_safe() (#4090)Topi Miettinen1-12/+12
2016-05-17basic: define HEXDIGITSDaniel Kahn Gillmor1-1/+1
2016-03-03tests: move fileio related tests to test-fileio.cRonny Chevalier1-0/+133
2016-02-10tree-wide: remove Emacs lines from all filesDaniel Mack1-2/+0
2015-11-16tree-wide: sort includesThomas Hindoe Paaboel Andersen1-1/+1
2015-11-13util-lib: optionally, when writing a string to a file, verify string on failureLennart Poettering1-0/+21
2015-10-27util-lib: split out allocation calls into alloc-util.[ch]Lennart Poettering1-0/+1
2015-10-27util-lib: split string parsing related calls from util.[ch] into parse-util.[ch]Lennart Poettering1-0/+1
2015-10-25util-lib: split out fd-related operations into fd-util.[ch]Lennart Poettering1-6/+7
2015-10-24util-lib: split our string related calls from util.[ch] into its own file str...Lennart Poettering1-0/+1
2015-09-30fileio: make get_status_field() more genericAaro Koskinen1-4/+4
2015-07-06fileio: consolidate write_string_file*()Daniel Mack1-5/+5
2015-07-06fileio: add 'enforce_newline' argument to write_string_stream()Daniel Mack1-2/+12
2015-04-10shared: add process-util.[ch]Ronny Chevalier1-0/+1
2014-12-23env-util: don't include files from src/core/Lennart Poettering1-1/+1
2014-11-07copy: teach copy_bytes() sendfile() support, and then replace sendfile_full()...Lennart Poettering1-25/+0
2014-11-05test: fileio - make coverity happyTom Gundersen1-1/+1
2014-10-31tests: add tests for fileio.cRonny Chevalier1-0/+63
2014-10-17environment: append unit_id to error messages regarding EnvironmentFileLukas Nykryn1-1/+1
2014-10-04test: only use assert_seThomas Hindoe Paaboel Andersen1-7/+7
2014-09-30test-fileio: Remove dead checkThomas Hindoe Paaboel Andersen1-1/+1
2014-09-18tests: fix resource & mem leaksRonny Chevalier1-5/+4
2014-09-16test: silence a coverity reportThomas Hindoe Paaboel Andersen1-1/+1
2014-08-18tests: add tests for fileio.cRonny Chevalier1-0/+69
2014-07-03machinectl: show /etc/os-release information of container in status outputLennart Poettering1-4/+4
2014-01-28always use the same code for creating temporary filesLennart Poettering1-5/+5
2013-12-12scan-build: silence some warningsThomas Hindoe Paaboel Andersen1-13/+13
2013-12-12test-fileio: replace mktemp with mkstemp to avoid warningsThomas Hindoe Paaboel Andersen1-2/+6
2013-09-19Add more tests and fix capability loggingZbigniew Jędrzejewski-Szmek1-13/+49