summaryrefslogtreecommitdiff
path: root/src/test/test-env-util.c
Commit message (Expand)AuthorAgeFilesLines
* test: add a simple test for getenv_path_list()Frantisek Sumsal2023-04-161-0/+35
* Modified to use STRV_MAKE() in strv_env_name_is_valid() function listed in en...Tanishka2023-04-111-6/+3
* Added unit test for strv_env_name_is_valid() function listed in env-util.c (#...taniishkaaa2023-04-021-0/+9
* env-util: introduce strv_env_assign_many()Yu Watanabe2023-03-281-0/+26
* basic: rename util.h to logarithm.hZbigniew Jędrzejewski-Szmek2022-11-081-1/+0
* strv: make iterator in STRV_FOREACH() declaread in the loopYu Watanabe2022-03-191-1/+0
* env-util: replace unsetenv_erase() by new getenv_steal_erase() helperLennart Poettering2022-02-201-6/+10
* test: Use TEST macroJan Janssen2021-11-251-78/+25
* basic/env-util: correctly parse extended vars after non-extended vars (#20941)Andrew Soutar2021-10-061-1/+4
* env-util: add unsetenv_erase() helperLennart Poettering2021-08-171-0/+47
* basic/env-util: add a mode where we pull in the variable value from environmentZbigniew Jędrzejewski-Szmek2021-08-111-0/+23
* test-env-util: extend the test for strv_env_merge() a bitZbigniew Jędrzejewski-Szmek2021-08-111-14/+11
* Add implicit sentinel to strv_env_merge()Zbigniew Jędrzejewski-Szmek2021-08-111-1/+1
* test-env-util: use streq_ptr when comparing directly the result of getenvLuca Boccassi2021-05-221-4/+4
* basic/env-util: add putenv_dup()Zbigniew Jędrzejewski-Szmek2021-02-221-0/+14
* env-util: add strv_env_pairs_get helperLuca Boccassi2021-02-171-0/+12
* test-env-util: add tests for the two new functionsZbigniew Jędrzejewski-Szmek2021-02-161-0/+33
* basic/env-util: drop now-unused strv_env_set()Zbigniew Jędrzejewski-Szmek2021-02-161-19/+0
* env-util: introduce env_update_systemd_exec_pid()Yu Watanabe2021-02-011-0/+38
* test: use test_setup_logging() in test-env-utilYu Watanabe2021-02-011-0/+3
* Allow control characters in environment variable valuesZbigniew Jędrzejewski-Szmek2021-01-191-3/+9
* license: LGPL-2.1+ -> LGPL-2.1-or-laterYu Watanabe2020-11-091-1/+1
* Revert "basic/env-util: (mostly) follow POSIX for what variable names are all...Zbigniew Jędrzejewski-Szmek2020-10-231-17/+8
* test-env-util: Verify that \r is disallowed in env var valuesHans Ulrich Niedermann2020-10-221-0/+3
* basic/env-util: (mostly) follow POSIX for what variable names are allowedZbigniew Jędrzejewski-Szmek2020-10-121-9/+19
* test-env-util: print function headersZbigniew Jędrzejewski-Szmek2020-10-121-20/+42
* tree-wide: drop double newlineYu Watanabe2019-11-041-1/+0
* tree-wide: drop string.h when string-util.h or friends are includedYu Watanabe2019-11-041-1/+0
* test-env-util: allow $PATH to be unsetZbigniew Jędrzejewski-Szmek2019-04-121-4/+4
* Move LONG_LINE_MAX definition to fileio.hZbigniew Jędrzejewski-Szmek2018-11-141-1/+0
* strv: wrap strv_new() in a macro so that NULL sentinel is implicitLennart Poettering2018-10-311-9/+8
* Move tests for *serialize_environment into test-serialize.cZbigniew Jędrzejewski-Szmek2018-10-261-57/+0
* test: _cleanup_(unlink_tempfilep) in two more placesZbigniew Jędrzejewski-Szmek2018-10-261-3/+2
* Introduce fmkostemp_safe and use it in testsZbigniew Jędrzejewski-Szmek2018-10-261-8/+3
* core: rework serializationLennart Poettering2018-10-261-19/+28
* Drop my copyright headersZbigniew Jędrzejewski-Szmek2018-06-141-3/+0
* tree-wide: beautify remaining copyright statementsLennart Poettering2018-06-141-1/+1
* tree-wide: remove Lennart's copyright linesLennart Poettering2018-06-141-1/+0
* tree-wide: drop 'This file is part of systemd' blurbLennart Poettering2018-06-141-2/+0
* tree-wide: drop license boilerplateZbigniew Jędrzejewski-Szmek2018-04-061-13/+0
* basic/env-util: Allow newlines in values of environment variablesFilipe Brandenburger2018-03-161-2/+7
* Add SPDX license identifiers to source files under the LGPLZbigniew Jędrzejewski-Szmek2017-11-191-0/+1
* basic/env-util: don't relax unesaping of serialized environment stringsLubomir Rintel2017-10-111-0/+3
* basic/env-util: drop the validation when deserializing environmentLubomir Rintel2017-10-111-2/+3
* tests: add tests for environment serializationZbigniew Jędrzejewski-Szmek2017-06-231-0/+45
* env-util: fix memory leak (#5962)Ronny Chevalier2017-05-141-0/+10
* test-env-util: fix typo leading to memleakZbigniew Jędrzejewski-Szmek2017-02-211-2/+2
* test-env-util: add more tests for "extended syntax"Zbigniew Jędrzejewski-Szmek2017-02-201-0/+30
* basic: support default and alternate values for env expansionRay Strode2017-02-201-1/+13
* Allow braceless variables to be expandedZbigniew Jędrzejewski-Szmek2017-02-201-2/+29