bareos: master fba11954

Author Committer Branch Timestamp Parent
joergs joergs master 2020-08-20 21:41 master 69eb8f0f Pending
Changeset gtest: list handling of the config parser

Tests if the varios types of config directives
correctly read multiple values.

Also document the limitations of the CFG_TYPE_STR type:
When a CFG_TYPE_STR config directive is used,
only the first entry from the last directive is used.
All other entry are silently ignored.
add - core/src/tests/configs/bareos-configparser-tests/bareos-dir-CFG_TYPE_ALIST_RES.conf Diff File
add - core/src/tests/configs/bareos-configparser-tests/bareos-dir-CFG_TYPE_ALIST_STR.conf Diff File
add - core/src/tests/configs/bareos-configparser-tests/bareos-dir-CFG_TYPE_AUDIT.conf Diff File
add - core/src/tests/configs/bareos-configparser-tests/bareos-dir-CFG_TYPE_FNAME.conf Diff File
add - core/src/tests/configs/bareos-configparser-tests/bareos-dir-CFG_TYPE_PLUGIN_NAMES.conf Diff File
add - core/src/tests/configs/bareos-configparser-tests/bareos-dir-CFG_TYPE_STR.conf Diff File
add - core/src/tests/configs/bareos-configparser-tests/bareos-dir-CFG_TYPE_STR_VECTOR.conf Diff File
add - core/src/tests/configs/bareos-configparser-tests/bareos-dir-CFG_TYPE_STR_VECTOR_OF_DIRS.conf.in Diff File
mod - core/src/tests/test_config_parser_dir.cc Diff File