Tests started on Sun Jan 18 09:37:34 AM PST 2026 and finished on Sun Jan 18 09:39:05 AM PST 2026
Start running advgetopt tests v2.0.50 on Sun Jan 18 09:38:12 AM PST 2026 advgetopt v2.0.50 [1502938]:unittest: seed is 1768757892 source directory: "/home/snapwebsites/snapcpp/contrib/advgetopt" binary directory: "/home/snapwebsites/snapcpp/BUILD/Debug/contrib/advgetopt/coverage/BUILD" dist directory: "/home/snapwebsites/snapcpp/BUILD/Debug/dist" temporary directory: "/home/snapwebsites/snapcpp/BUILD/Debug/contrib/advgetopt/tmp" Randomness seeded to: 4153170241 SECTION: program_name: Verify a nullptr program name in argv[]s SECTION: program_name: verify a program name with no path SECTION: program_name: verify a program name with a relative path SECTION: program_name: verify a program name with a relative path and backslashes SECTION: program_name: verify a program name with a full path SECTION: program_name: verify a program name with a full path and backslashes SECTION: project_name: verify a nullptr project name SECTION: project_name: verify an actual project name SECTION: invalid_program_name: parsing a nullptr program name throws SECTION: flag_argument: verify a simple --verbose argument SECTION: flag_argument: verify a simple --verbose argument SECTION: flag_argument: verify a simple --verbose argument in a variable SECTION: flag_argument: verify a simple --verbose argument in a variable SECTION: flag_argument: verify a simple alias argument SECTION: flag_argument: verify a simple alias argument SECTION: flag_argument: verify a simple alias argument in a variable SECTION: flag_argument: verify a simple alias argument in a variable SECTION: require_argument: verify a simple --outargument SECTION: require_argument: verify a simple --out argument SECTION: require_argument: verify a simple --out argument SECTION: require_argument: verify a simple alias of --out argument SECTION: require_argument: verify a simple alias of --out argument SECTION: require_argument: verify a simple alias of --out argument SECTION: require_argument: verify a simple --out argument in a variable SECTION: require_argument: verify a simple --out argument in a variable SECTION: require_argument: verify a simple --out argument in a variable SECTION: require_argument: verify a simple alias of --out argument in a variable SECTION: require_argument: verify a simple alias of --out argument in a variable SECTION: require_arguments: Verify a simple --out ... argument SECTION: require_arguments: Verify a simple --out ... argument SECTION: require_arguments: verify a simple alias of --out ... argument SECTION: require_arguments: verify a simple alias of --out ... argument SECTION: require_arguments: verify a simple --out ... argument in a variable SECTION: require_arguments: verify a simple --out ... argument in a variable SECTION: optional_arguments: verify a simple --out [ ...] argument SECTION: optional_arguments: verify a simple --out [ ...] argument SECTION: optional_arguments: verify a simple --out [ ...] argument SECTION: optional_arguments: verify a simple --out [ ...] argument SECTION: optional_arguments: verify a simple --out [ ...] argument SECTION: optional_arguments: verify a simple --out [ ...] argument SECTION: optional_arguments: verify a simple --out [ ...] argument SECTION: optional_arguments: verify a simple --out [ ...] argument SECTION: optional_arguments: verify a simple --out [ ...] argument SECTION: optional_arguments: verify a simple --out [ ...] argument in a variable SECTION: optional_arguments: verify a simple --out [ ...] argument in a variable SECTION: optional_arguments: verify a simple --out [ ...] argument in a variable SECTION: optional_arguments: verify a simple --out [ ...] argument in a variable SECTION: optional_arguments: verify a simple --out [ ...] argument in a variable SECTION: optional_arguments: verify a simple --out [ ...] argument in a variable SECTION: config_dir_argument: verify that we do get the --config-dir option when we have a standalone configuration filename SECTION: config_dir_argument: verify that we do not get the --config-dir option when the standalone configuration filename is nullptr SECTION: config_dir_argument: verify that we do not get the --config-dir option when the standalone configuration filename is "" SECTION: config_dir_argument: test adding '-c' to '--config-dir' SECTION: config_dir_argument: test our own parsing with '--config-dir' and f_configuration_filename set to nullptr SECTION: config_dir_argument: test our own parsing with '--config-dir' and f_configuration_filename set to "" SECTION: default_argument: verify a simple [ ] argument SECTION: default_argument: verify a simple [ ] argument SECTION: default_argument: verify a simple [ ] argument SECTION: default_argument: verify a simple [ ] argument SECTION: default_argument: verify a simple [ ] argument SECTION: default_argument: verify a simple [ ] argument SECTION: default_argument: verify a simple [ ] argument in a variable SECTION: default_argument: verify a simple [ ] argument in a variable SECTION: default_argument: verify a simple [ ] argument in a variable SECTION: default_argument: verify a simple [ ] argument in a variable SECTION: default_argument: verify a simple [ ] argument in a variable SECTION: default_argument: verify a simple [ ] argument in a variable SECTION: default_argument: verify a simple [ ] argument in a variable SECTION: default_argument: verify a simple [ ] argument in a variable SECTION: default_argument: verify that we can have a non-require argument with an invalid default SECTION: default_argument: verify that we can have a non-require argument with an invalid default SECTION: default_arguments: verify a simple [ ...] argument SECTION: default_arguments: verify a simple [ ...] argument SECTION: default_arguments: verify a simple [ ...] argument SECTION: default_arguments: verify a simple [ ...] argument SECTION: default_arguments: verify a simple [ ...] argument with the default name (a.k.a. "--") SECTION: default_arguments: verify a simple [ ...] argument with the default name (a.k.a. "--") SECTION: default_arguments: verify a simple [ ...] argument with the default name (a.k.a. "--") SECTION: default_arguments: verify a simple [ ...] argument with the default name (a.k.a. "--") SECTION: default_arguments: verify a simple [ ...] argument in a variable SECTION: default_arguments: verify a simple [ ...] argument in a variable SECTION: default_arguments: verify a simple [ ...] argument in a variable SECTION: default_arguments: verify a simple [ ...] argument in a variable SECTION: manual_arguments: verify a few arguments added manually SECTION: manual_arguments: verify a few arguments added manually and system options SECTION: manual_arguments: verify that not calling link_aliases() causes problems SECTION: individual_argument_variable: test that we get the values of individual environment variables without an INTRO_... SECTION: individual_argument_variable: test that we get the values of individual environment variables without an INTRO_... SECTION: individual_argument_variable: test that we get the values of individual environment variables without an INTRO_... SECTION: individual_argument_variable: test that we get the values of individual environment variables without an INTRO_... SECTION: individual_argument_variable: test that we get the values of individual environment variables without an INTRO_... SECTION: auto_process_system_arguments: test auto-processing of system arguments (with many CATCH_WHEN) SECTION: auto_process_system_arguments: test auto-processing of system arguments (with many CATCH_WHEN) SECTION: auto_process_system_arguments: test auto-processing of system arguments (with many CATCH_WHEN) SECTION: auto_process_system_arguments: test auto-processing of system arguments (with many CATCH_WHEN) SECTION: check_print_option: testing --print-option with a defined parameter SECTION: check_print_option: testing --print-option with an undefined parameter but a default SECTION: check_print_option: testing --print-option with an undefined parameter and no default SECTION: invalid_getopt_pointers: create getopt with argv set to nullptr. SECTION: invalid_getopt_missing_options: create getopt with no options. SECTION: invalid_getopt_missing_options: create getopt with an empty list of options. SECTION: invalid_getopt_missing_required_option: specify the option without a corresponding parameter. SECTION: invalid_getopt_missing_required_option: specify the option with an equal sign but without a corresponding parameter. SECTION: invalid_getopt_missing_required_option: specify the option without a corresponding parameter followed by a long argument. SECTION: invalid_getopt_missing_required_option: specify the option without a corresponding parameter followed by a short argument. SECTION: invalid_default_options: using a standalone 'file.txt' when no default option is allowed. SECTION: invalid_default_options: using a standalone 'file.txt' on the command line when only allowed in a variable. SECTION: invalid_default_options: using a standalone 'file.txt' in a variable when only allowed on the command line. SECTION: invalid_default_options: using a '--' when no default option is allowed. SECTION: invalid_default_options: using a '--' when on the command line when only accepted in variables. SECTION: invalid_default_options: using a '--' in the environment variable when only accepted on the command line. SECTION: invalid_default_options: using a '-' when no default option is allowed. SECTION: invalid_default_options: using a '-' when on the command line when only accepted in variables. SECTION: invalid_default_options: using a '-' in the environment variable when only accepted on the command line. SECTION: invalid_options: long option with an equal sign but not name. SECTION: invalid_options: unknown long option. SECTION: invalid_options: long option not available in environment variable. SECTION: invalid_options: long option not available on command line. SECTION: invalid_options: unknown short option. SECTION: invalid_options: short option not available in environment variable. SECTION: invalid_options: long option not available on command line. SECTION: configuration_filenames: configuration Files SECTION: configuration_filenames: configuration Files (writable) SECTION: configuration_filenames: configuration file + directories SECTION: configuration_filenames: configuration file + directories + '--config-dir' SECTION: configuration_filenames: existing configuration files SECTION: configuration_filenames: existing configuration files SECTION: configuration_filenames: existing configuration files SECTION: configuration_filenames: existing configuration files SECTION: configuration_filenames: existing configuration files SECTION: load_configuration_file: load a configuration file SECTION: load_configuration_file: load an extended configuration file SECTION: load_configuration_file: load a configuration file with sections SECTION: load_multiple_configurations: configuration files SECTION: load_multiple_configurations: configuration files with sections SECTION: load_invalid_configuration_file: load with unexpected parameter name (one letter--dynamic allowed) SECTION: load_invalid_configuration_file: load with unexpected parameter name (one letter--no dynamic allowed) SECTION: load_invalid_configuration_file: load with unexpected parameter name (undefined & no dynamic fields are allowed) SECTION: load_invalid_configuration_file: load with parameter not supported in configuration files SECTION: load_invalid_configuration_file: load a configuration file with a flag given a value other than true or false SECTION: load_invalid_configuration_file: load a configuration file with a flag given the value "true" SECTION: load_invalid_configuration_file: load a configuration file with a flag given the value "false" SECTION: load_invalid_configuration_file: load a configuration file with an invalid sections definition SECTION: configuration_spaces: verify configuration spaces SECTION: configuration_setup: check all setups SECTION: configuration_setup: check non-existent filename SECTION: config_reload_tests: load a file, update it, verify it does not get reloaded SECTION: config_duplicated_variables: file with the same variable defined multiple times SECTION: config_callback_calls: setup a callback and test the set_parameter()/erase() functions SECTION: config_line_continuation_tests: single_line (EQUAL) SECTION: config_line_continuation_tests: single_line (EXTENDED EQUALS) SECTION: config_line_continuation_tests: rfc822 SECTION: config_line_continuation_tests: msdos SECTION: config_line_continuation_tests: unix SECTION: config_line_continuation_tests: fortran SECTION: config_line_continuation_tests: semicolon SECTION: config_assignment_operator_tests: equal SECTION: config_assignment_operator_tests: colon SECTION: config_assignment_operator_tests: space SECTION: config_assignment_operator_tests: equal_colon_and_space SECTION: config_comment_tests: ini comment SECTION: config_comment_tests: shell comment SECTION: config_comment_tests: C++ comment SECTION: config_comment_tests: all three comments SECTION: config_section_tests: section operator c (.) SECTION: config_section_tests: section operator c++ (::) SECTION: config_section_tests: section operator block ({ ... }) SECTION: config_section_tests: section operator ini file ([...]) SECTION: config_section_tests: section operator ini-file & c++ SECTION: config_section_tests: section of variables ([variables]) SECTION: config_section_tests: command line with .conf including section of variables ([variables]) SECTION: save_config_file: load update save (=) SECTION: save_config_file: load update save (:) SECTION: save_config_file: load update save ( ) SECTION: invalid_configuration_setup: empty filename SECTION: invalid_configuration_setup: invalid line continuation SECTION: config_reload_invalid_setup: load a file, update it, verify it does not get reloaded SECTION: missing_configuration_file: create a conf_file without the file SECTION: invalid_sections: variable name cannot start with a period when C operator is active SECTION: invalid_sections: two section operators one after another can cause trouble SECTION: invalid_sections: section operator cannot appear at the end SECTION: invalid_sections: sections not allowed SECTION: invalid_sections: invalid characters in names SECTION: invalid_sections: too many sections SECTION: invalid_sections: all '{' were not closed SECTION: invalid_sections: data after ']' in INI file SECTION: invalid_sections: INI file section inside a block is not allowed SECTION: invalid_field_name: empty field name SECTION: invalid_field_name: empty variable name after section name SECTION: invalid_field_name: variable name starts with a dash SECTION: invalid_field_name: variable name starts with an underscore SECTION: invalid_field_name: variable name with spaces SECTION: string_access: verify a string in a long argument SECTION: string_access: verify a string in a short argument SECTION: long_access: verify an integer (long) value in an argument SECTION: long_access: verify an integer (long) value in a short argument SECTION: long_access: verify an integer (long) value in no arguments SECTION: double_access: verify a double value in an argument SECTION: double_access: verify a double value in a short argument SECTION: double_access: verify a double value with no default and nothing on the command line SECTION: double_access: verify a double value validity when a default is defined. SECTION: double_access: verify a double value in no arguments SECTION: system_flags_version: check with the --version system flag SECTION: system_flags_version: check with the --version system flag, without a --version on the command line SECTION: system_flags_has_sanitizer: check with the --has-sanitizer system flag SECTION: system_flags_has_sanitizer: check with the --has-sanitizer system flag, without a --has-sanitizer on the command line SECTION: system_flags_compiler_version: check with the --compiler-version system flag SECTION: system_flags_compiler_version: check with the --compiler-version system flag, without a --compiler-version on the command line SECTION: system_flags_help: check with the --help system flag SECTION: system_flags_help: check with the --long-help system flag SECTION: system_flags_help: check with the --help system flag, without a --help on the command line SECTION: system_flags_help: check with the --commands-help system flag SECTION: system_flags_help: check with the --options-help system flag SECTION: system_flags_copyright: check with the --copyright system flag SECTION: system_flags_copyright: check with the --copyright system flag, without a --copyright on the command line SECTION: system_flags_license: check with the --license system flag SECTION: system_flags_license: check with the --license system flag, without a --license on the command line SECTION: system_flags_build_date: check with the --build-date system flag SECTION: system_flags_build_date: check with the --build-date system flag, without a --build-date on the command line SECTION: system_flags_environment_variable_name: check with the --environment-variable-name system flag SECTION: system_flags_environment_variable_name: check with the --environment-variable-name system flag with nullptr SECTION: system_flags_environment_variable_name: check with the --environment-variable-name system flag with "" SECTION: system_flags_environment_variable_name: check with the --environment-variable-name system flag, without a --environment-variable-name on the command line SECTION: system_flags_configuration_filenames: check with the --configuration-filenames system flag SECTION: system_flags_configuration_filenames: check with the --configuration-filenames system flag with --config-dir too SECTION: system_flags_configuration_filenames: check with the --configuration-filenames system flag without any configuration files SECTION: system_flags_configuration_filenames: check with the --configuration-filenames system flag, without a --configuration-filenames on the command line SECTION: system_flags_path_to_option_definitions: check with the --path-to-option-definitions system flag (Default) SECTION: system_flags_path_to_option_definitions: check with the --path-to-option-definitions system flag (Specified) SECTION: system_flags_path_to_option_definitions: check with the --path-to-option-definitions system flag, without a --path-to-option-definitions on the command line SECTION: invalid_option_name: verify that asking for the string of a non-existant option fails SECTION: invalid_option_name: verify that asking for the long of a non-existant option fails SECTION: invalid_option_name: verify that asking for a default with an empty string fails SECTION: invalid_option_name: [] operators want a valid name SECTION: missing_default_value: verify a string value without arguments and no default SECTION: missing_default_value: verify an integer (long) value without arguments and no default SECTION: missing_default_value: verify an integer (long) value without arguments and an empty string as default SECTION: incompatible_default_value: verify an integer (long) value without arguments and a non-numeric default SECTION: out_of_range_value: verify an integer (long) value without arguments and a non-numeric default SECTION: out_of_range_value: verify an integer (long) value without arguments and a non-numeric default SECTION: check_sanitizer: check that the sanitizer is detected SECTION: logger: verify log levels SECTION: logger: verify log string SECTION: logger: verify log integers SECTION: logger_without_callback: verify log string SECTION: invalid_logger: verify invalid log levels SECTION: to_from_short_name: short name to string and back SECTION: parsing_string: test parsing of empty environment strings SECTION: option_info_basics: simple option (verify defaults) SECTION: option_info_basics: auto-default SECTION: option_info_basics: explicit default SECTION: option_info_flags: check flags SECTION: option_info_default: set/remove default SECTION: option_info_help: check help SECTION: option_info_validator: check validator (one value) SECTION: option_info_validator: check validator (multiple values) SECTION: option_info_validator: check integer validator from string (multiple values) SECTION: option_info_validator: check regex validator from string (multiple values) SECTION: option_info_alias: check alias SECTION: option_info_multiple_separators: check multiple separators SECTION: option_info_add_value: add value, verify lock (add/remove flag explicitly) SECTION: option_info_add_value: add value, verify integer SECTION: option_info_add_value: add value, verify multiple strings SECTION: option_info_add_value: add value, verify multiple integers SECTION: option_info_set_value: set value, verify lock (use lock()/unlock() functions) SECTION: option_info_set_value: set value, verify integer SECTION: option_info_set_value: set value, verify multiple strings (with MULTIPLE & lock(false)) SECTION: option_info_set_value: set value, verify multiple integers (with MULTIPLE & lock(false)) SECTION: option_info_section_functions: value without sections SECTION: option_info_section_functions: value with one section SECTION: option_info_section_functions: value with two sections SECTION: option_info_section_functions: value with three sections SECTION: redefine_option_short_name: test adding '- ' to '--config-dir' SECTION: invalid_option_info: no name SECTION: invalid_option_info: default with short name SECTION: invalid_option_info: long name cannot start with a dash (-) SECTION: invalid_option_info: short name cannot be a dash (-) SECTION: invalid_option_info: set value with undefined source SECTION: invalid_option_info: set multiple values with undefined source SECTION: invalid_option_info: get value when undefined SECTION: invalid_option_info: get long when undefined SECTION: invalid_option_info: get long when undefined SECTION: invalid_option_info: check alias of alias SECTION: invalid_option_info: set value, verify multiple strings (with MULTIPLE) SECTION: invalid_option_info: set value, verify multiple integers (with MULTIPLE) SECTION: invalid_option_info: set value, verify multiple strings (without MULTIPLE) SECTION: invalid_option_info: set value, verify multiple integers (without MULTIPLE) SECTION: invalid_option_info: long number too large SECTION: invalid_option_info: check multiple separators SECTION: invalid_option_info: check invalid parameter (missing ')') SECTION: check_invalid_config_dir_short_names: trying to set NO_SHORT_NAME as '--config-dir' short name (option_info) SECTION: check_invalid_config_dir_short_names: trying to change short name of '--version' (option_info) SECTION: check_option_callbacks: check option callbacks SECTION: option_info_ref: option info reference SECTION: option_info_ref: non-existent reference SECTION: option_info_ref: set non-existent reference + many CATCH_WHEN() SECTION: option_info_ref: set non-existent reference + many CATCH_WHEN() SECTION: option_info_ref: set non-existent reference + many CATCH_WHEN() SECTION: option_info_ref: set non-existent reference + many CATCH_WHEN() SECTION: option_info_ref: set non-existent reference + many CATCH_WHEN() SECTION: option_info_ref: set non-existent reference + many CATCH_WHEN() SECTION: option_info_ref: set non-existent reference + many CATCH_WHEN() SECTION: option_info_ref: set non-existent reference + many CATCH_WHEN() SECTION: option_info_ref: set non-existent reference + many CATCH_WHEN() SECTION: option_info_ref: set non-existent reference + many CATCH_WHEN() SECTION: option_info_ref: set non-existent reference + many CATCH_WHEN() SECTION: option_info_ref: set non-existent reference + many CATCH_WHEN() SECTION: option_info_ref: set non-existent reference + many CATCH_WHEN() SECTION: option_info_ref: set non-existent reference + many CATCH_WHEN() SECTION: option_info_ref: set non-existent reference + many CATCH_WHEN() SECTION: option_info_ref: set non-existent reference + many CATCH_WHEN() SECTION: option_info_ref: set non-existent reference + many CATCH_WHEN() SECTION: option_info_ref: set non-existent reference + many CATCH_WHEN() SECTION: option_info_ref: set non-existent reference + many CATCH_WHEN() SECTION: option_info_ref: set non-existent reference + many CATCH_WHEN() SECTION: option_info_ref: set non-existent reference + many CATCH_WHEN() SECTION: option_info_ref: set non-existent reference + many CATCH_WHEN() SECTION: option_info_ref: set non-existent reference + many CATCH_WHEN() SECTION: option_info_ref: set non-existent reference + many CATCH_WHEN() SECTION: option_info_ref: set non-existent reference + many CATCH_WHEN() SECTION: option_info_ref_with_valid_default: no reference on command line, valid default for get_long() SECTION: option_info_ref_with_valid_default: no reference on command line, valid default for get_double() SECTION: option_info_ref_with_invalid_default: no reference on command line, not valid for get_long() SECTION: option_info_ref_with_invalid_default: no reference on command line, not valid for get_double() SECTION: valid_options_files: check the default path with a nullptr (not a very good test, though) SECTION: valid_options_files: check the default path with an empty string (not a very good test, though) SECTION: valid_options_files: check the parsing of a valid options.ini file (one option) SECTION: valid_options_files: project name is an empty string SECTION: valid_options_files: check the parsing of a valid options.ini file (many options) SECTION: valid_options_files: verify that options with 2 or more namespaces fail SECTION: valid_options_files: verify parse_options_from_file overflow SECTION: valid_options_files: verify that the parse_options_from_file supports more than one section name (used by fluid-settings) SECTION: valid_options_files: check with validators in the definition SECTION: invalid_options_files: 2+ section names SECTION: invalid_options_files: short name too long SECTION: invalid_options_files: missing ')' in validator specification SECTION: invalid_options_files: alias with help SECTION: invalid_options_files: no-name alias SECTION: invalid_options_files: no-name alias v2 SECTION: invalid_options_files: non-existent alias SECTION: options_parser: system options only SECTION: options_parser: duplicated options (ignored by system options) SECTION: options_parser: default option SECTION: options_parser: alias option SECTION: define_option_short_name: test adding '- ' to '--config-dir' SECTION: invalid_options_parser: no options SECTION: invalid_options_parser: options without a name (null pointer) SECTION: invalid_options_parser: options without a name (empty string) SECTION: invalid_options_parser: options with a one letter name SECTION: invalid_options_parser: default option with a short name SECTION: invalid_options_parser: duplicated options (long name) SECTION: invalid_options_parser: duplicated options (short name) SECTION: invalid_options_parser: duplicated default options SECTION: invalid_options_parser: default option marked as being a FLAG SECTION: invalid_options_parser: option with an alias and mismatched flags SECTION: invalid_config_dir_short_name: trying to set '-o' as '--config-dir' short name SECTION: invalid_config_dir_short_name: trying to set '-c' as '--config-dir' short name, buf configuration filename is nullptr SECTION: options_sources: system options only SECTION: options_sources_environment_variable_and_config_file: load options from a config file, environment variable, and command line with --config-dir on the command line SECTION: options_sources_environment_variable_and_config_file: load options from a config file, environment variable, and command line with --config-dir in the environment variable SECTION: option_string: empty string returns an empty empty SECTION: option_string: empty string returns empty SECTION: option_string: string in single quotes SECTION: option_string: string with apostrophe SECTION: option_string: string with special characters SECTION: options_to_string: transform command line options back to a shell compatible command. SECTION: usage_function: usage() using "--filename" for the default option accepting multiple entries SECTION: usage_function: usage() using "--filename" for the default option accepting multiple entries which are required when "--filename" is used SECTION: usage_function: usage() using "--filename" for the default option accepting one required item SECTION: usage_function: usage() using "--" for the default option accepting one item SECTION: help_string_percent: percent percent SECTION: help_string_project_name: percent project name (name defined) SECTION: help_string_project_name: percent project name (nullptr) SECTION: help_string_project_name: percent project name ("") SECTION: help_string_build_date: percent build date (defined) SECTION: help_string_build_date: percent build date (nullptr) SECTION: help_string_build_date: percent build date ("") SECTION: help_string_copyright: percent copyright (defined) SECTION: help_string_copyright: percent copyright (nullptr) SECTION: help_string_copyright: percent copyright ("") SECTION: help_string_copyright: percent directories (fully defined) SECTION: help_string_copyright: percent asterisk directories (fully defined) SECTION: help_string_copyright: percent directories (nullptr) SECTION: help_string_copyright: percent asterisk directories (nullptr) SECTION: help_string_copyright: percent directories (empty array) SECTION: help_string_copyright: percent asterisk directories (empty array) SECTION: help_string_copyright: percent environment variable (fully defined, variable set) SECTION: help_string_copyright: percent environment variable (fully defined, variable not set) SECTION: help_string_copyright: percent asterisk environment variable (fully defined, variable set) SECTION: help_string_copyright: percent asterisk environment variable (fully defined, variable not set) SECTION: help_string_copyright: percent environment variable (nullptr, variable set) SECTION: help_string_copyright: percent environment variable (nullptr, variable not set) SECTION: help_string_copyright: percent asterisk environment variable (nullptr, variable set) SECTION: help_string_copyright: percent asterisk environment variable (nullptr, variable not set) SECTION: help_string_copyright: percent environment variable (empty string, variable set) SECTION: help_string_copyright: percent environment variable (empty string, variable not set) SECTION: help_string_copyright: percent asterisk environment variable (empty string, variable set) SECTION: help_string_copyright: percent asterisk environment variable (empty string, variable not set) SECTION: help_string_copyright: environment variable intro (undefined) SECTION: help_string_copyright: percent configuration files with f (fully defined) SECTION: help_string_copyright: percent asterisk configuration files with f (fully defined) SECTION: help_string_copyright: percent configuration files with f (nullptr) SECTION: help_string_copyright: percent asterisk configuration files with f (nullptr) SECTION: help_string_copyright: percent configuration files with f (empty array) SECTION: help_string_copyright: percent asterisk configuration files with f (empty array) SECTION: help_string_copyright: percent configuration files with g (fully defined) SECTION: help_string_copyright: percent configuration files with g (fully defined) SECTION: help_string_copyright: percent asterisk configuration files with g (fully defined) SECTION: help_string_copyright: percent configuration files with g (nullptr) SECTION: help_string_copyright: percent asterisk configuration files with g (nullptr) SECTION: help_string_copyright: percent configuration files with g (empty array) SECTION: help_string_copyright: percent asterisk configuration files with g (empty array) SECTION: help_string_option_file_directory: percent configuration files with i (fully defined) SECTION: help_string_option_file_directory: percent configuration files with i (nullptr) SECTION: help_string_option_file_directory: percent configuration files with i (empty string) SECTION: help_string_license: percent license (defined) SECTION: help_string_license: percent license (nullptr) SECTION: help_string_license: percent license ("") SECTION: help_string_license: percent configuration output file (fully defined) SECTION: help_string_license: percent configuration output file (nullptr) SECTION: help_string_license: percent configuration output file (empty array) SECTION: help_string_program_name: percent program name SECTION: help_string_program_name: percent asterisk program name SECTION: help_string_program_name: percent program name (empty--before parsing the arguments) SECTION: help_string_build_time: percent build time (defined) SECTION: help_string_build_time: percent build time (nullptr) SECTION: help_string_build_time: percent build time ("") SECTION: help_string_version: percent version (defined) SECTION: help_string_version: percent version (nullptr) SECTION: help_string_version: percent version ("") SECTION: help_string_writable_configuration_files: percent writable configuration files (fully defined--one file) SECTION: help_string_writable_configuration_files: percent writable configuration files (fully defined) SECTION: help_string_writable_configuration_files: percent writable configuration files (nullptr) SECTION: help_string_writable_configuration_files: percent writable configuration files (empty array) SECTION: invalid_group_for_find_group: find_group() with invalid flags SECTION: invalid_group_for_find_group: find_group() with GETOPT_FLAG_GROUP_NONE SECTION: invalid_group_for_find_group: find_group() with invalid group definitions SECTION: utils_unquote: unquote, default pairs SECTION: utils_unquote: unquote, brackets SECTION: utils_quote: quote, default pairs SECTION: utils_split: split three words SECTION: utils_split: split three words, one with single quotes SECTION: utils_split: split three words, one with double quotes SECTION: utils_split: split three words, one with single quotes but no spaces SECTION: utils_split: split three words, one with double quotes but no spaces SECTION: utils_split: split five words, four separators SECTION: utils_split: split five words, multiple/repeated separators SECTION: utils_split: split five words, and empty entries SECTION: utils_split: split five words, start/end with separator SECTION: utils_split: split five words, unclosed double quote SECTION: utils_split: split five words, unclosed single quote SECTION: utils_insert_group_name: Full insert SECTION: utils_insert_group_name: empty cases SECTION: utils_insert_group_name: cases SECTION: utils_insert_group_name: basename only SECTION: utils_insert_group_name: actual list of files on disk SECTION: utils_default_group_name: full insert SECTION: utils_default_group_name: empty cases SECTION: utils_default_group_name: single '/' at the start SECTION: utils_default_group_name: invalid priority SECTION: utils_default_group_name: basename Only SECTION: utils_handle_user_directory: valid cases SECTION: utils_handle_user_directory: $HOME is empty SECTION: utils_handle_user_directory: paths do not start with ~ SECTION: utils_true_false: true values SECTION: utils_true_false: false values SECTION: unknown_validator: undefined validator SECTION: unknown_validator: empty string SECTION: email_validator: verify that email verification works. SECTION: email_validator: verify that one email verification works (single explicitly). SECTION: email_validator: verify that multiple emails verification works. SECTION: integer_validator: verify the integer validator SECTION: integer_validator: verify the integer ranges SECTION: integer_validator: verify the integer standalone list SECTION: length_validator: verify the length validator SECTION: length_validator: verify the length ranges SECTION: length_validator: verify the length standalone list SECTION: multi_validators: verify an integer along a few keywords SECTION: keywords_validator: verify simple keywords SECTION: double_validator: verify the double validator SECTION: double_validator: verify the double ranges SECTION: double_validator: verify the double standalone list SECTION: duration_validator: verify the duration validator (simple values) SECTION: duration_validator: verify the duration validator (multiple values) SECTION: duration_validator: verify the duration validator (one value) SECTION: duration_validator: verify the duration validator (within range) SECTION: size_validator: verify the size validator SECTION: regex_validator: verify the regex validator SECTION: regex_validator: verify the regex string (case sensitive) SECTION: regex_validator: verify the regex string (case insensitive) SECTION: regex_validator: verify direct regex string (case insensitive) SECTION: invalid_validator_factory: register duplicated factories SECTION: invalid_validator_create: verify missing ')' in string based create SECTION: invalid_length_validator: verify invalid length ranges SECTION: invalid_integer_validator: verify invalid integer ranges SECTION: invalid_double_validator: verify invalid double ranges SECTION: invalid_duration_validator: verify invalid duration flags SECTION: invalid_duration_validator: verify invalid duration (text) SECTION: invalid_duration_validator: verify invalid duration (two periods) SECTION: invalid_duration_validator: verify invalid duration (bad start) SECTION: invalid_duration_validator: verify invalid duration (bad end) SECTION: invalid_duration_validator: verify invalid duration (start > end) SECTION: invalid_email_validator: verify emails with invalid parameters. SECTION: invalid_keywords_validator: verify that keywords without parameters fail. SECTION: invalid_list_validator: verify that list validators do not accept parameters. SECTION: invalid_size_validator: verify invalid duration flags SECTION: invalid_regex_validator: verify invalid regex flags SECTION: invalid_regex_validator: verify invalid regex character SECTION: invalid_regex_validator: verify invalid regex: missing ending / SECTION: invalid_regex_validator: verify regex refuses more than one parameter SECTION: invalid_regex_validator: verify two regex params SECTION: invalid_regex_validator: verify two regex params SECTION: variables: check the variables class SECTION: invalid_variable_name: parsing an empty section name throws SECTION: invalid_variable_name: parsing first section name that start with a digit fails SECTION: invalid_variable_name: parsing second section name that start with a digit fails SECTION: invalid_variable_name: parsing variable name that start with a digit fails SECTION: invalid_variable: NEW assignment fails if variable exists SECTION: version: verify the library version =============================================================================== All tests passed (9451159 assertions in 137 test cases) Finished running advgetopt tests v2.0.50 on Sun Jan 18 09:38:51 AM PST 2026