Date: Tue, 17 Mar 2020 16:56:50 +0000 (UTC) From: Brooks Davis <brooks@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-vendor@freebsd.org Subject: svn commit: r359042 - in vendor/kyua: . dist dist/admin dist/bootstrap dist/cli dist/doc dist/drivers dist/engine dist/examples dist/integration dist/integration/helpers dist/m4 dist/misc dist/mode... Message-ID: <202003171656.02HGuoNJ086537@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: brooks Date: Tue Mar 17 16:56:50 2020 New Revision: 359042 URL: https://svnweb.freebsd.org/changeset/base/359042 Log: Import the kyua testing framework for infrastructure software Imported at 0.13 plus assumulated changes to git hash a685f91. Obtained from: https://github.com/jmmv/kyua Sponsored by: DARPA Added: vendor/kyua/ vendor/kyua/dist/ vendor/kyua/dist/.gitignore vendor/kyua/dist/.travis.yml vendor/kyua/dist/AUTHORS vendor/kyua/dist/CONTRIBUTING.md vendor/kyua/dist/CONTRIBUTORS vendor/kyua/dist/Doxyfile.in (contents, props changed) vendor/kyua/dist/INSTALL.md vendor/kyua/dist/Kyuafile vendor/kyua/dist/LICENSE vendor/kyua/dist/Makefile.am (contents, props changed) vendor/kyua/dist/NEWS.md vendor/kyua/dist/README.md vendor/kyua/dist/admin/ vendor/kyua/dist/admin/.gitignore vendor/kyua/dist/admin/Makefile.am.inc (contents, props changed) vendor/kyua/dist/admin/build-bintray-dist.sh (contents, props changed) vendor/kyua/dist/admin/check-api-docs.awk (contents, props changed) vendor/kyua/dist/admin/check-style-common.awk (contents, props changed) vendor/kyua/dist/admin/check-style-cpp.awk (contents, props changed) vendor/kyua/dist/admin/check-style-make.awk (contents, props changed) vendor/kyua/dist/admin/check-style-man.awk (contents, props changed) vendor/kyua/dist/admin/check-style-shell.awk (contents, props changed) vendor/kyua/dist/admin/check-style.sh (contents, props changed) vendor/kyua/dist/admin/clean-all.sh (contents, props changed) vendor/kyua/dist/admin/travis-build.sh (contents, props changed) vendor/kyua/dist/admin/travis-install-deps.sh (contents, props changed) vendor/kyua/dist/bootstrap/ vendor/kyua/dist/bootstrap/.gitignore vendor/kyua/dist/bootstrap/Kyuafile vendor/kyua/dist/bootstrap/Makefile.am.inc (contents, props changed) vendor/kyua/dist/bootstrap/atf_helpers.cpp (contents, props changed) vendor/kyua/dist/bootstrap/plain_helpers.cpp (contents, props changed) vendor/kyua/dist/bootstrap/testsuite.at vendor/kyua/dist/cli/ vendor/kyua/dist/cli/Kyuafile vendor/kyua/dist/cli/Makefile.am.inc (contents, props changed) vendor/kyua/dist/cli/cmd_about.cpp (contents, props changed) vendor/kyua/dist/cli/cmd_about.hpp vendor/kyua/dist/cli/cmd_about_test.cpp (contents, props changed) vendor/kyua/dist/cli/cmd_config.cpp (contents, props changed) vendor/kyua/dist/cli/cmd_config.hpp vendor/kyua/dist/cli/cmd_config_test.cpp (contents, props changed) vendor/kyua/dist/cli/cmd_db_exec.cpp (contents, props changed) vendor/kyua/dist/cli/cmd_db_exec.hpp vendor/kyua/dist/cli/cmd_db_exec_test.cpp (contents, props changed) vendor/kyua/dist/cli/cmd_db_migrate.cpp (contents, props changed) vendor/kyua/dist/cli/cmd_db_migrate.hpp vendor/kyua/dist/cli/cmd_debug.cpp (contents, props changed) vendor/kyua/dist/cli/cmd_debug.hpp vendor/kyua/dist/cli/cmd_debug_test.cpp (contents, props changed) vendor/kyua/dist/cli/cmd_help.cpp (contents, props changed) vendor/kyua/dist/cli/cmd_help.hpp vendor/kyua/dist/cli/cmd_help_test.cpp (contents, props changed) vendor/kyua/dist/cli/cmd_list.cpp (contents, props changed) vendor/kyua/dist/cli/cmd_list.hpp vendor/kyua/dist/cli/cmd_list_test.cpp (contents, props changed) vendor/kyua/dist/cli/cmd_report.cpp (contents, props changed) vendor/kyua/dist/cli/cmd_report.hpp vendor/kyua/dist/cli/cmd_report_html.cpp (contents, props changed) vendor/kyua/dist/cli/cmd_report_html.hpp vendor/kyua/dist/cli/cmd_report_junit.cpp (contents, props changed) vendor/kyua/dist/cli/cmd_report_junit.hpp vendor/kyua/dist/cli/cmd_test.cpp (contents, props changed) vendor/kyua/dist/cli/cmd_test.hpp vendor/kyua/dist/cli/cmd_test_test.cpp (contents, props changed) vendor/kyua/dist/cli/common.cpp (contents, props changed) vendor/kyua/dist/cli/common.hpp vendor/kyua/dist/cli/common.ipp vendor/kyua/dist/cli/common_test.cpp (contents, props changed) vendor/kyua/dist/cli/config.cpp (contents, props changed) vendor/kyua/dist/cli/config.hpp vendor/kyua/dist/cli/config_test.cpp (contents, props changed) vendor/kyua/dist/cli/main.cpp (contents, props changed) vendor/kyua/dist/cli/main.hpp vendor/kyua/dist/cli/main_test.cpp (contents, props changed) vendor/kyua/dist/configure.ac vendor/kyua/dist/doc/ vendor/kyua/dist/doc/.gitignore vendor/kyua/dist/doc/Kyuafile vendor/kyua/dist/doc/Makefile.am.inc (contents, props changed) vendor/kyua/dist/doc/build-root.mdoc vendor/kyua/dist/doc/kyua-about.1.in (contents, props changed) vendor/kyua/dist/doc/kyua-config.1.in (contents, props changed) vendor/kyua/dist/doc/kyua-db-exec.1.in (contents, props changed) vendor/kyua/dist/doc/kyua-db-migrate.1.in (contents, props changed) vendor/kyua/dist/doc/kyua-debug.1.in (contents, props changed) vendor/kyua/dist/doc/kyua-help.1.in (contents, props changed) vendor/kyua/dist/doc/kyua-list.1.in (contents, props changed) vendor/kyua/dist/doc/kyua-report-html.1.in (contents, props changed) vendor/kyua/dist/doc/kyua-report-junit.1.in (contents, props changed) vendor/kyua/dist/doc/kyua-report.1.in (contents, props changed) vendor/kyua/dist/doc/kyua-test.1.in (contents, props changed) vendor/kyua/dist/doc/kyua.1.in (contents, props changed) vendor/kyua/dist/doc/kyua.conf.5.in (contents, props changed) vendor/kyua/dist/doc/kyuafile.5.in (contents, props changed) vendor/kyua/dist/doc/manbuild.sh (contents, props changed) vendor/kyua/dist/doc/manbuild_test.sh (contents, props changed) vendor/kyua/dist/doc/results-file-flag-read.mdoc vendor/kyua/dist/doc/results-file-flag-write.mdoc vendor/kyua/dist/doc/results-files-report-example.mdoc vendor/kyua/dist/doc/results-files.mdoc vendor/kyua/dist/doc/test-filters.mdoc vendor/kyua/dist/doc/test-isolation.mdoc vendor/kyua/dist/drivers/ vendor/kyua/dist/drivers/Kyuafile vendor/kyua/dist/drivers/Makefile.am.inc (contents, props changed) vendor/kyua/dist/drivers/debug_test.cpp (contents, props changed) vendor/kyua/dist/drivers/debug_test.hpp vendor/kyua/dist/drivers/list_tests.cpp (contents, props changed) vendor/kyua/dist/drivers/list_tests.hpp vendor/kyua/dist/drivers/list_tests_helpers.cpp (contents, props changed) vendor/kyua/dist/drivers/list_tests_test.cpp (contents, props changed) vendor/kyua/dist/drivers/report_junit.cpp (contents, props changed) vendor/kyua/dist/drivers/report_junit.hpp vendor/kyua/dist/drivers/report_junit_test.cpp (contents, props changed) vendor/kyua/dist/drivers/run_tests.cpp (contents, props changed) vendor/kyua/dist/drivers/run_tests.hpp vendor/kyua/dist/drivers/scan_results.cpp (contents, props changed) vendor/kyua/dist/drivers/scan_results.hpp vendor/kyua/dist/drivers/scan_results_test.cpp (contents, props changed) vendor/kyua/dist/engine/ vendor/kyua/dist/engine/Kyuafile vendor/kyua/dist/engine/Makefile.am.inc (contents, props changed) vendor/kyua/dist/engine/atf.cpp (contents, props changed) vendor/kyua/dist/engine/atf.hpp vendor/kyua/dist/engine/atf_helpers.cpp (contents, props changed) vendor/kyua/dist/engine/atf_list.cpp (contents, props changed) vendor/kyua/dist/engine/atf_list.hpp vendor/kyua/dist/engine/atf_list_test.cpp (contents, props changed) vendor/kyua/dist/engine/atf_result.cpp (contents, props changed) vendor/kyua/dist/engine/atf_result.hpp vendor/kyua/dist/engine/atf_result_fwd.hpp vendor/kyua/dist/engine/atf_result_test.cpp (contents, props changed) vendor/kyua/dist/engine/atf_test.cpp (contents, props changed) vendor/kyua/dist/engine/config.cpp (contents, props changed) vendor/kyua/dist/engine/config.hpp vendor/kyua/dist/engine/config_fwd.hpp vendor/kyua/dist/engine/config_test.cpp (contents, props changed) vendor/kyua/dist/engine/exceptions.cpp (contents, props changed) vendor/kyua/dist/engine/exceptions.hpp vendor/kyua/dist/engine/exceptions_test.cpp (contents, props changed) vendor/kyua/dist/engine/filters.cpp (contents, props changed) vendor/kyua/dist/engine/filters.hpp vendor/kyua/dist/engine/filters_fwd.hpp vendor/kyua/dist/engine/filters_test.cpp (contents, props changed) vendor/kyua/dist/engine/kyuafile.cpp (contents, props changed) vendor/kyua/dist/engine/kyuafile.hpp vendor/kyua/dist/engine/kyuafile_fwd.hpp vendor/kyua/dist/engine/kyuafile_test.cpp (contents, props changed) vendor/kyua/dist/engine/plain.cpp (contents, props changed) vendor/kyua/dist/engine/plain.hpp vendor/kyua/dist/engine/plain_helpers.cpp (contents, props changed) vendor/kyua/dist/engine/plain_test.cpp (contents, props changed) vendor/kyua/dist/engine/requirements.cpp (contents, props changed) vendor/kyua/dist/engine/requirements.hpp vendor/kyua/dist/engine/requirements_test.cpp (contents, props changed) vendor/kyua/dist/engine/scanner.cpp (contents, props changed) vendor/kyua/dist/engine/scanner.hpp vendor/kyua/dist/engine/scanner_fwd.hpp vendor/kyua/dist/engine/scanner_test.cpp (contents, props changed) vendor/kyua/dist/engine/scheduler.cpp (contents, props changed) vendor/kyua/dist/engine/scheduler.hpp vendor/kyua/dist/engine/scheduler_fwd.hpp vendor/kyua/dist/engine/scheduler_test.cpp (contents, props changed) vendor/kyua/dist/engine/tap.cpp (contents, props changed) vendor/kyua/dist/engine/tap.hpp vendor/kyua/dist/engine/tap_helpers.cpp (contents, props changed) vendor/kyua/dist/engine/tap_parser.cpp (contents, props changed) vendor/kyua/dist/engine/tap_parser.hpp vendor/kyua/dist/engine/tap_parser_fwd.hpp vendor/kyua/dist/engine/tap_parser_test.cpp (contents, props changed) vendor/kyua/dist/engine/tap_test.cpp (contents, props changed) vendor/kyua/dist/examples/ vendor/kyua/dist/examples/Kyuafile vendor/kyua/dist/examples/Kyuafile.top vendor/kyua/dist/examples/Makefile.am.inc (contents, props changed) vendor/kyua/dist/examples/kyua.conf (contents, props changed) vendor/kyua/dist/examples/syntax_test.cpp (contents, props changed) vendor/kyua/dist/integration/ vendor/kyua/dist/integration/Kyuafile vendor/kyua/dist/integration/Makefile.am.inc (contents, props changed) vendor/kyua/dist/integration/cmd_about_test.sh (contents, props changed) vendor/kyua/dist/integration/cmd_config_test.sh (contents, props changed) vendor/kyua/dist/integration/cmd_db_exec_test.sh (contents, props changed) vendor/kyua/dist/integration/cmd_db_migrate_test.sh (contents, props changed) vendor/kyua/dist/integration/cmd_debug_test.sh (contents, props changed) vendor/kyua/dist/integration/cmd_help_test.sh (contents, props changed) vendor/kyua/dist/integration/cmd_list_test.sh (contents, props changed) vendor/kyua/dist/integration/cmd_report_html_test.sh (contents, props changed) vendor/kyua/dist/integration/cmd_report_junit_test.sh (contents, props changed) vendor/kyua/dist/integration/cmd_report_test.sh (contents, props changed) vendor/kyua/dist/integration/cmd_test_test.sh (contents, props changed) vendor/kyua/dist/integration/global_test.sh (contents, props changed) vendor/kyua/dist/integration/helpers/ vendor/kyua/dist/integration/helpers/.gitignore vendor/kyua/dist/integration/helpers/Makefile.am.inc (contents, props changed) vendor/kyua/dist/integration/helpers/bad_test_program.cpp (contents, props changed) vendor/kyua/dist/integration/helpers/bogus_test_cases.cpp (contents, props changed) vendor/kyua/dist/integration/helpers/config.cpp (contents, props changed) vendor/kyua/dist/integration/helpers/dump_env.cpp (contents, props changed) vendor/kyua/dist/integration/helpers/expect_all_pass.cpp (contents, props changed) vendor/kyua/dist/integration/helpers/expect_some_fail.cpp (contents, props changed) vendor/kyua/dist/integration/helpers/interrupts.cpp (contents, props changed) vendor/kyua/dist/integration/helpers/metadata.cpp (contents, props changed) vendor/kyua/dist/integration/helpers/race.cpp (contents, props changed) vendor/kyua/dist/integration/helpers/simple_all_pass.cpp (contents, props changed) vendor/kyua/dist/integration/helpers/simple_some_fail.cpp (contents, props changed) vendor/kyua/dist/integration/utils.sh (contents, props changed) vendor/kyua/dist/m4/ vendor/kyua/dist/m4/ax_cxx_compile_stdcxx.m4 vendor/kyua/dist/m4/compiler-features.m4 vendor/kyua/dist/m4/compiler-flags.m4 vendor/kyua/dist/m4/developer-mode.m4 vendor/kyua/dist/m4/doxygen.m4 vendor/kyua/dist/m4/fs.m4 vendor/kyua/dist/m4/getopt.m4 vendor/kyua/dist/m4/memory.m4 vendor/kyua/dist/m4/signals.m4 vendor/kyua/dist/m4/uname.m4 vendor/kyua/dist/main.cpp (contents, props changed) vendor/kyua/dist/misc/ vendor/kyua/dist/misc/Makefile.am.inc (contents, props changed) vendor/kyua/dist/misc/context.html (contents, props changed) vendor/kyua/dist/misc/index.html (contents, props changed) vendor/kyua/dist/misc/report.css (contents, props changed) vendor/kyua/dist/misc/test_result.html (contents, props changed) vendor/kyua/dist/model/ vendor/kyua/dist/model/Kyuafile vendor/kyua/dist/model/Makefile.am.inc (contents, props changed) vendor/kyua/dist/model/README vendor/kyua/dist/model/context.cpp (contents, props changed) vendor/kyua/dist/model/context.hpp vendor/kyua/dist/model/context_fwd.hpp vendor/kyua/dist/model/context_test.cpp (contents, props changed) vendor/kyua/dist/model/exceptions.cpp (contents, props changed) vendor/kyua/dist/model/exceptions.hpp vendor/kyua/dist/model/exceptions_test.cpp (contents, props changed) vendor/kyua/dist/model/metadata.cpp (contents, props changed) vendor/kyua/dist/model/metadata.hpp vendor/kyua/dist/model/metadata_fwd.hpp vendor/kyua/dist/model/metadata_test.cpp (contents, props changed) vendor/kyua/dist/model/test_case.cpp (contents, props changed) vendor/kyua/dist/model/test_case.hpp vendor/kyua/dist/model/test_case_fwd.hpp vendor/kyua/dist/model/test_case_test.cpp (contents, props changed) vendor/kyua/dist/model/test_program.cpp (contents, props changed) vendor/kyua/dist/model/test_program.hpp vendor/kyua/dist/model/test_program_fwd.hpp vendor/kyua/dist/model/test_program_test.cpp (contents, props changed) vendor/kyua/dist/model/test_result.cpp (contents, props changed) vendor/kyua/dist/model/test_result.hpp vendor/kyua/dist/model/test_result_fwd.hpp vendor/kyua/dist/model/test_result_test.cpp (contents, props changed) vendor/kyua/dist/model/types.hpp vendor/kyua/dist/store/ vendor/kyua/dist/store/Kyuafile vendor/kyua/dist/store/Makefile.am.inc (contents, props changed) vendor/kyua/dist/store/dbtypes.cpp (contents, props changed) vendor/kyua/dist/store/dbtypes.hpp vendor/kyua/dist/store/dbtypes_test.cpp (contents, props changed) vendor/kyua/dist/store/exceptions.cpp (contents, props changed) vendor/kyua/dist/store/exceptions.hpp vendor/kyua/dist/store/exceptions_test.cpp (contents, props changed) vendor/kyua/dist/store/layout.cpp (contents, props changed) vendor/kyua/dist/store/layout.hpp vendor/kyua/dist/store/layout_fwd.hpp vendor/kyua/dist/store/layout_test.cpp (contents, props changed) vendor/kyua/dist/store/metadata.cpp (contents, props changed) vendor/kyua/dist/store/metadata.hpp vendor/kyua/dist/store/metadata_fwd.hpp vendor/kyua/dist/store/metadata_test.cpp (contents, props changed) vendor/kyua/dist/store/migrate.cpp (contents, props changed) vendor/kyua/dist/store/migrate.hpp vendor/kyua/dist/store/migrate_test.cpp (contents, props changed) vendor/kyua/dist/store/migrate_v1_v2.sql vendor/kyua/dist/store/migrate_v2_v3.sql vendor/kyua/dist/store/read_backend.cpp (contents, props changed) vendor/kyua/dist/store/read_backend.hpp vendor/kyua/dist/store/read_backend_fwd.hpp vendor/kyua/dist/store/read_backend_test.cpp (contents, props changed) vendor/kyua/dist/store/read_transaction.cpp (contents, props changed) vendor/kyua/dist/store/read_transaction.hpp vendor/kyua/dist/store/read_transaction_fwd.hpp vendor/kyua/dist/store/read_transaction_test.cpp (contents, props changed) vendor/kyua/dist/store/schema_inttest.cpp (contents, props changed) vendor/kyua/dist/store/schema_v1.sql vendor/kyua/dist/store/schema_v2.sql vendor/kyua/dist/store/schema_v3.sql vendor/kyua/dist/store/testdata_v1.sql vendor/kyua/dist/store/testdata_v2.sql vendor/kyua/dist/store/testdata_v3_1.sql vendor/kyua/dist/store/testdata_v3_2.sql vendor/kyua/dist/store/testdata_v3_3.sql vendor/kyua/dist/store/testdata_v3_4.sql vendor/kyua/dist/store/transaction_test.cpp (contents, props changed) vendor/kyua/dist/store/write_backend.cpp (contents, props changed) vendor/kyua/dist/store/write_backend.hpp vendor/kyua/dist/store/write_backend_fwd.hpp vendor/kyua/dist/store/write_backend_test.cpp (contents, props changed) vendor/kyua/dist/store/write_transaction.cpp (contents, props changed) vendor/kyua/dist/store/write_transaction.hpp vendor/kyua/dist/store/write_transaction_fwd.hpp vendor/kyua/dist/store/write_transaction_test.cpp (contents, props changed) vendor/kyua/dist/utils/ vendor/kyua/dist/utils/.gitignore vendor/kyua/dist/utils/Kyuafile vendor/kyua/dist/utils/Makefile.am.inc (contents, props changed) vendor/kyua/dist/utils/auto_array.hpp vendor/kyua/dist/utils/auto_array.ipp vendor/kyua/dist/utils/auto_array_fwd.hpp vendor/kyua/dist/utils/auto_array_test.cpp (contents, props changed) vendor/kyua/dist/utils/cmdline/ vendor/kyua/dist/utils/cmdline/Kyuafile vendor/kyua/dist/utils/cmdline/Makefile.am.inc (contents, props changed) vendor/kyua/dist/utils/cmdline/base_command.cpp (contents, props changed) vendor/kyua/dist/utils/cmdline/base_command.hpp vendor/kyua/dist/utils/cmdline/base_command.ipp vendor/kyua/dist/utils/cmdline/base_command_fwd.hpp vendor/kyua/dist/utils/cmdline/base_command_test.cpp (contents, props changed) vendor/kyua/dist/utils/cmdline/commands_map.hpp vendor/kyua/dist/utils/cmdline/commands_map.ipp vendor/kyua/dist/utils/cmdline/commands_map_fwd.hpp vendor/kyua/dist/utils/cmdline/commands_map_test.cpp (contents, props changed) vendor/kyua/dist/utils/cmdline/exceptions.cpp (contents, props changed) vendor/kyua/dist/utils/cmdline/exceptions.hpp vendor/kyua/dist/utils/cmdline/exceptions_test.cpp (contents, props changed) vendor/kyua/dist/utils/cmdline/globals.cpp (contents, props changed) vendor/kyua/dist/utils/cmdline/globals.hpp vendor/kyua/dist/utils/cmdline/globals_test.cpp (contents, props changed) vendor/kyua/dist/utils/cmdline/options.cpp (contents, props changed) vendor/kyua/dist/utils/cmdline/options.hpp vendor/kyua/dist/utils/cmdline/options_fwd.hpp vendor/kyua/dist/utils/cmdline/options_test.cpp (contents, props changed) vendor/kyua/dist/utils/cmdline/parser.cpp (contents, props changed) vendor/kyua/dist/utils/cmdline/parser.hpp vendor/kyua/dist/utils/cmdline/parser.ipp vendor/kyua/dist/utils/cmdline/parser_fwd.hpp vendor/kyua/dist/utils/cmdline/parser_test.cpp (contents, props changed) vendor/kyua/dist/utils/cmdline/ui.cpp (contents, props changed) vendor/kyua/dist/utils/cmdline/ui.hpp vendor/kyua/dist/utils/cmdline/ui_fwd.hpp vendor/kyua/dist/utils/cmdline/ui_mock.cpp (contents, props changed) vendor/kyua/dist/utils/cmdline/ui_mock.hpp vendor/kyua/dist/utils/cmdline/ui_test.cpp (contents, props changed) vendor/kyua/dist/utils/config/ vendor/kyua/dist/utils/config/Kyuafile vendor/kyua/dist/utils/config/Makefile.am.inc (contents, props changed) vendor/kyua/dist/utils/config/exceptions.cpp (contents, props changed) vendor/kyua/dist/utils/config/exceptions.hpp vendor/kyua/dist/utils/config/exceptions_test.cpp (contents, props changed) vendor/kyua/dist/utils/config/keys.cpp (contents, props changed) vendor/kyua/dist/utils/config/keys.hpp vendor/kyua/dist/utils/config/keys_fwd.hpp vendor/kyua/dist/utils/config/keys_test.cpp (contents, props changed) vendor/kyua/dist/utils/config/lua_module.cpp (contents, props changed) vendor/kyua/dist/utils/config/lua_module.hpp vendor/kyua/dist/utils/config/lua_module_test.cpp (contents, props changed) vendor/kyua/dist/utils/config/nodes.cpp (contents, props changed) vendor/kyua/dist/utils/config/nodes.hpp vendor/kyua/dist/utils/config/nodes.ipp vendor/kyua/dist/utils/config/nodes_fwd.hpp vendor/kyua/dist/utils/config/nodes_test.cpp (contents, props changed) vendor/kyua/dist/utils/config/parser.cpp (contents, props changed) vendor/kyua/dist/utils/config/parser.hpp vendor/kyua/dist/utils/config/parser_fwd.hpp vendor/kyua/dist/utils/config/parser_test.cpp (contents, props changed) vendor/kyua/dist/utils/config/tree.cpp (contents, props changed) vendor/kyua/dist/utils/config/tree.hpp vendor/kyua/dist/utils/config/tree.ipp vendor/kyua/dist/utils/config/tree_fwd.hpp vendor/kyua/dist/utils/config/tree_test.cpp (contents, props changed) vendor/kyua/dist/utils/datetime.cpp (contents, props changed) vendor/kyua/dist/utils/datetime.hpp vendor/kyua/dist/utils/datetime_fwd.hpp vendor/kyua/dist/utils/datetime_test.cpp (contents, props changed) vendor/kyua/dist/utils/defs.hpp.in (contents, props changed) vendor/kyua/dist/utils/env.cpp (contents, props changed) vendor/kyua/dist/utils/env.hpp vendor/kyua/dist/utils/env_test.cpp (contents, props changed) vendor/kyua/dist/utils/format/ vendor/kyua/dist/utils/format/Kyuafile vendor/kyua/dist/utils/format/Makefile.am.inc (contents, props changed) vendor/kyua/dist/utils/format/containers.hpp vendor/kyua/dist/utils/format/containers.ipp vendor/kyua/dist/utils/format/containers_test.cpp (contents, props changed) vendor/kyua/dist/utils/format/exceptions.cpp (contents, props changed) vendor/kyua/dist/utils/format/exceptions.hpp vendor/kyua/dist/utils/format/exceptions_test.cpp (contents, props changed) vendor/kyua/dist/utils/format/formatter.cpp (contents, props changed) vendor/kyua/dist/utils/format/formatter.hpp vendor/kyua/dist/utils/format/formatter.ipp vendor/kyua/dist/utils/format/formatter_fwd.hpp vendor/kyua/dist/utils/format/formatter_test.cpp (contents, props changed) vendor/kyua/dist/utils/format/macros.hpp vendor/kyua/dist/utils/fs/ vendor/kyua/dist/utils/fs/Kyuafile vendor/kyua/dist/utils/fs/Makefile.am.inc (contents, props changed) vendor/kyua/dist/utils/fs/auto_cleaners.cpp (contents, props changed) vendor/kyua/dist/utils/fs/auto_cleaners.hpp vendor/kyua/dist/utils/fs/auto_cleaners_fwd.hpp vendor/kyua/dist/utils/fs/auto_cleaners_test.cpp (contents, props changed) vendor/kyua/dist/utils/fs/directory.cpp (contents, props changed) vendor/kyua/dist/utils/fs/directory.hpp vendor/kyua/dist/utils/fs/directory_fwd.hpp vendor/kyua/dist/utils/fs/directory_test.cpp (contents, props changed) vendor/kyua/dist/utils/fs/exceptions.cpp (contents, props changed) vendor/kyua/dist/utils/fs/exceptions.hpp vendor/kyua/dist/utils/fs/exceptions_test.cpp (contents, props changed) vendor/kyua/dist/utils/fs/lua_module.cpp (contents, props changed) vendor/kyua/dist/utils/fs/lua_module.hpp vendor/kyua/dist/utils/fs/lua_module_test.cpp (contents, props changed) vendor/kyua/dist/utils/fs/operations.cpp (contents, props changed) vendor/kyua/dist/utils/fs/operations.hpp vendor/kyua/dist/utils/fs/operations_test.cpp (contents, props changed) vendor/kyua/dist/utils/fs/path.cpp (contents, props changed) vendor/kyua/dist/utils/fs/path.hpp vendor/kyua/dist/utils/fs/path_fwd.hpp vendor/kyua/dist/utils/fs/path_test.cpp (contents, props changed) vendor/kyua/dist/utils/logging/ vendor/kyua/dist/utils/logging/Kyuafile vendor/kyua/dist/utils/logging/Makefile.am.inc (contents, props changed) vendor/kyua/dist/utils/logging/macros.hpp vendor/kyua/dist/utils/logging/macros_test.cpp (contents, props changed) vendor/kyua/dist/utils/logging/operations.cpp (contents, props changed) vendor/kyua/dist/utils/logging/operations.hpp vendor/kyua/dist/utils/logging/operations_fwd.hpp vendor/kyua/dist/utils/logging/operations_test.cpp (contents, props changed) vendor/kyua/dist/utils/memory.cpp (contents, props changed) vendor/kyua/dist/utils/memory.hpp vendor/kyua/dist/utils/memory_test.cpp (contents, props changed) vendor/kyua/dist/utils/noncopyable.hpp vendor/kyua/dist/utils/optional.hpp vendor/kyua/dist/utils/optional.ipp vendor/kyua/dist/utils/optional_fwd.hpp vendor/kyua/dist/utils/optional_test.cpp (contents, props changed) vendor/kyua/dist/utils/passwd.cpp (contents, props changed) vendor/kyua/dist/utils/passwd.hpp vendor/kyua/dist/utils/passwd_fwd.hpp vendor/kyua/dist/utils/passwd_test.cpp (contents, props changed) vendor/kyua/dist/utils/process/ vendor/kyua/dist/utils/process/.gitignore vendor/kyua/dist/utils/process/Kyuafile vendor/kyua/dist/utils/process/Makefile.am.inc (contents, props changed) vendor/kyua/dist/utils/process/child.cpp (contents, props changed) vendor/kyua/dist/utils/process/child.hpp vendor/kyua/dist/utils/process/child.ipp vendor/kyua/dist/utils/process/child_fwd.hpp vendor/kyua/dist/utils/process/child_test.cpp (contents, props changed) vendor/kyua/dist/utils/process/deadline_killer.cpp (contents, props changed) vendor/kyua/dist/utils/process/deadline_killer.hpp vendor/kyua/dist/utils/process/deadline_killer_fwd.hpp vendor/kyua/dist/utils/process/deadline_killer_test.cpp (contents, props changed) vendor/kyua/dist/utils/process/exceptions.cpp (contents, props changed) vendor/kyua/dist/utils/process/exceptions.hpp vendor/kyua/dist/utils/process/exceptions_test.cpp (contents, props changed) vendor/kyua/dist/utils/process/executor.cpp (contents, props changed) vendor/kyua/dist/utils/process/executor.hpp vendor/kyua/dist/utils/process/executor.ipp vendor/kyua/dist/utils/process/executor_fwd.hpp vendor/kyua/dist/utils/process/executor_test.cpp (contents, props changed) vendor/kyua/dist/utils/process/fdstream.cpp (contents, props changed) vendor/kyua/dist/utils/process/fdstream.hpp vendor/kyua/dist/utils/process/fdstream_fwd.hpp vendor/kyua/dist/utils/process/fdstream_test.cpp (contents, props changed) vendor/kyua/dist/utils/process/helpers.cpp (contents, props changed) vendor/kyua/dist/utils/process/isolation.cpp (contents, props changed) vendor/kyua/dist/utils/process/isolation.hpp vendor/kyua/dist/utils/process/isolation_test.cpp (contents, props changed) vendor/kyua/dist/utils/process/operations.cpp (contents, props changed) vendor/kyua/dist/utils/process/operations.hpp vendor/kyua/dist/utils/process/operations_fwd.hpp vendor/kyua/dist/utils/process/operations_test.cpp (contents, props changed) vendor/kyua/dist/utils/process/status.cpp (contents, props changed) vendor/kyua/dist/utils/process/status.hpp vendor/kyua/dist/utils/process/status_fwd.hpp vendor/kyua/dist/utils/process/status_test.cpp (contents, props changed) vendor/kyua/dist/utils/process/system.cpp (contents, props changed) vendor/kyua/dist/utils/process/system.hpp vendor/kyua/dist/utils/process/systembuf.cpp (contents, props changed) vendor/kyua/dist/utils/process/systembuf.hpp vendor/kyua/dist/utils/process/systembuf_fwd.hpp vendor/kyua/dist/utils/process/systembuf_test.cpp (contents, props changed) vendor/kyua/dist/utils/sanity.cpp (contents, props changed) vendor/kyua/dist/utils/sanity.hpp vendor/kyua/dist/utils/sanity_fwd.hpp vendor/kyua/dist/utils/sanity_test.cpp (contents, props changed) vendor/kyua/dist/utils/signals/ vendor/kyua/dist/utils/signals/Kyuafile vendor/kyua/dist/utils/signals/Makefile.am.inc (contents, props changed) vendor/kyua/dist/utils/signals/exceptions.cpp (contents, props changed) vendor/kyua/dist/utils/signals/exceptions.hpp vendor/kyua/dist/utils/signals/exceptions_test.cpp (contents, props changed) vendor/kyua/dist/utils/signals/interrupts.cpp (contents, props changed) vendor/kyua/dist/utils/signals/interrupts.hpp vendor/kyua/dist/utils/signals/interrupts_fwd.hpp vendor/kyua/dist/utils/signals/interrupts_test.cpp (contents, props changed) vendor/kyua/dist/utils/signals/misc.cpp (contents, props changed) vendor/kyua/dist/utils/signals/misc.hpp vendor/kyua/dist/utils/signals/misc_test.cpp (contents, props changed) vendor/kyua/dist/utils/signals/programmer.cpp (contents, props changed) vendor/kyua/dist/utils/signals/programmer.hpp vendor/kyua/dist/utils/signals/programmer_fwd.hpp vendor/kyua/dist/utils/signals/programmer_test.cpp (contents, props changed) vendor/kyua/dist/utils/signals/timer.cpp (contents, props changed) vendor/kyua/dist/utils/signals/timer.hpp vendor/kyua/dist/utils/signals/timer_fwd.hpp vendor/kyua/dist/utils/signals/timer_test.cpp (contents, props changed) vendor/kyua/dist/utils/sqlite/ vendor/kyua/dist/utils/sqlite/Kyuafile vendor/kyua/dist/utils/sqlite/Makefile.am.inc (contents, props changed) vendor/kyua/dist/utils/sqlite/c_gate.cpp (contents, props changed) vendor/kyua/dist/utils/sqlite/c_gate.hpp vendor/kyua/dist/utils/sqlite/c_gate_fwd.hpp vendor/kyua/dist/utils/sqlite/c_gate_test.cpp (contents, props changed) vendor/kyua/dist/utils/sqlite/database.cpp (contents, props changed) vendor/kyua/dist/utils/sqlite/database.hpp vendor/kyua/dist/utils/sqlite/database_fwd.hpp vendor/kyua/dist/utils/sqlite/database_test.cpp (contents, props changed) vendor/kyua/dist/utils/sqlite/exceptions.cpp (contents, props changed) vendor/kyua/dist/utils/sqlite/exceptions.hpp vendor/kyua/dist/utils/sqlite/exceptions_test.cpp (contents, props changed) vendor/kyua/dist/utils/sqlite/statement.cpp (contents, props changed) vendor/kyua/dist/utils/sqlite/statement.hpp vendor/kyua/dist/utils/sqlite/statement.ipp vendor/kyua/dist/utils/sqlite/statement_fwd.hpp vendor/kyua/dist/utils/sqlite/statement_test.cpp (contents, props changed) vendor/kyua/dist/utils/sqlite/test_utils.hpp vendor/kyua/dist/utils/sqlite/transaction.cpp (contents, props changed) vendor/kyua/dist/utils/sqlite/transaction.hpp vendor/kyua/dist/utils/sqlite/transaction_fwd.hpp vendor/kyua/dist/utils/sqlite/transaction_test.cpp (contents, props changed) vendor/kyua/dist/utils/stacktrace.cpp (contents, props changed) vendor/kyua/dist/utils/stacktrace.hpp vendor/kyua/dist/utils/stacktrace_helper.cpp (contents, props changed) vendor/kyua/dist/utils/stacktrace_test.cpp (contents, props changed) vendor/kyua/dist/utils/stream.cpp (contents, props changed) vendor/kyua/dist/utils/stream.hpp vendor/kyua/dist/utils/stream_test.cpp (contents, props changed) vendor/kyua/dist/utils/test_utils.ipp vendor/kyua/dist/utils/text/ vendor/kyua/dist/utils/text/Kyuafile vendor/kyua/dist/utils/text/Makefile.am.inc (contents, props changed) vendor/kyua/dist/utils/text/exceptions.cpp (contents, props changed) vendor/kyua/dist/utils/text/exceptions.hpp vendor/kyua/dist/utils/text/exceptions_test.cpp (contents, props changed) vendor/kyua/dist/utils/text/operations.cpp (contents, props changed) vendor/kyua/dist/utils/text/operations.hpp vendor/kyua/dist/utils/text/operations.ipp vendor/kyua/dist/utils/text/operations_test.cpp (contents, props changed) vendor/kyua/dist/utils/text/regex.cpp (contents, props changed) vendor/kyua/dist/utils/text/regex.hpp vendor/kyua/dist/utils/text/regex_fwd.hpp vendor/kyua/dist/utils/text/regex_test.cpp (contents, props changed) vendor/kyua/dist/utils/text/table.cpp (contents, props changed) vendor/kyua/dist/utils/text/table.hpp vendor/kyua/dist/utils/text/table_fwd.hpp vendor/kyua/dist/utils/text/table_test.cpp (contents, props changed) vendor/kyua/dist/utils/text/templates.cpp (contents, props changed) vendor/kyua/dist/utils/text/templates.hpp vendor/kyua/dist/utils/text/templates_fwd.hpp vendor/kyua/dist/utils/text/templates_test.cpp (contents, props changed) vendor/kyua/dist/utils/units.cpp (contents, props changed) vendor/kyua/dist/utils/units.hpp vendor/kyua/dist/utils/units_fwd.hpp vendor/kyua/dist/utils/units_test.cpp (contents, props changed) Added: vendor/kyua/dist/.gitignore ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ vendor/kyua/dist/.gitignore Tue Mar 17 16:56:50 2020 (r359042) @@ -0,0 +1,23 @@ +*.a +*.o +*_helpers +*_inttest +*_test +*~ + +.deps +.dirstamp +Doxyfile +Makefile +Makefile.in +aclocal.m4 +api-docs +autom4te.cache +config.h +config.h.in +config.log +config.status +configure +kyua +local-kyua +stamp-h1 Added: vendor/kyua/dist/.travis.yml ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ vendor/kyua/dist/.travis.yml Tue Mar 17 16:56:50 2020 (r359042) @@ -0,0 +1,49 @@ +language: cpp +sudo: required + +before_install: + - ./admin/travis-install-deps.sh + +matrix: + include: + - os: linux + dist: xenial + compiler: clang + env: ARCH=amd64 DO=distcheck AS_ROOT=no + - os: linux + dist: xenial + compiler: gcc + env: ARCH=amd64 DO=distcheck AS_ROOT=no + - os: linux + dist: xenial + compiler: clang + env: ARCH=amd64 DO=apidocs + - os: linux + dist: xenial + compiler: clang + env: ARCH=amd64 DO=style + - os: linux + dist: xenial + compiler: clang + env: ARCH=amd64 DO=distcheck AS_ROOT=yes UNPRIVILEGED_USER=no + - os: linux + dist: xenial + compiler: clang + env: ARCH=amd64 DO=distcheck AS_ROOT=yes UNPRIVILEGED_USER=yes + # TODO(ngie): reenable i386; the libraries were not available in the + # Ubuntu Xenial x86_64 docker image. + #- os: linux + # dist: xenial + # compiler: clang + # env: ARCH=i386 DO=distcheck AS_ROOT=no + #- os: linux + # dist: xenial + # compiler: gcc + # env: ARCH=i386 DO=distcheck AS_ROOT=no + +script: + - ./admin/travis-build.sh + +notifications: + email: + - kyua-log@googlegroups.com Added: vendor/kyua/dist/AUTHORS ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ vendor/kyua/dist/AUTHORS Tue Mar 17 16:56:50 2020 (r359042) @@ -0,0 +1,11 @@ +# This is the official list of Kyua authors for copyright purposes. +# +# This file is distinct from the CONTRIBUTORS files; see the latter for +# an explanation. +# +# Names are sorted alphabetically and should be added to this file as: +# +# * Name <email address> +# * Organization <optional email address> + +* Google Inc. Added: vendor/kyua/dist/CONTRIBUTING.md ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ vendor/kyua/dist/CONTRIBUTING.md Tue Mar 17 16:56:50 2020 (r359042) @@ -0,0 +1,173 @@ +Contributing code to Kyua +========================= + +Want to contribute? Great! But first, please take a few minutes to read this +document in full. Doing so upfront will minimize the turnaround time required +to get your changes incorporated. + + +Legal notes +----------- + +* Before we can use your code, you must sign the + [Google Individual Contributor License + Agreement](https://developers.google.com/open-source/cla/individual), + also known as the CLA, which you can easily do online. The CLA is necessary + mainly because you own the copyright to your changes, even after your + contribution becomes part of our codebase, so we need your permission to use + and distribute your code. We also need to be sure of various other + things--for instance that you will tell us if you know that your code + infringes on other people's patents. You do not have to sign the CLA until + after you have submitted your code for review and a member has approved it, + but you must do it before we can put your code into our codebase. + +* Contributions made by corporations are covered by a different agreement than + the one above: the + [Google Software Grant and Corporate Contributor License + Agreement](https://developers.google.com/open-source/cla/corporate). + Please get your company to sign this agreement instead if your contribution is + on their behalf. + +* Unless you have a strong reason not to, please assign copyright of your + changes to Google Inc. and use the 3-clause BSD license text included + throughout the codebase (see [LICENSE](LICENSE)). Keeping the whole project + owned by a single entity is important, particularly to avoid the problem of + having to replicate potentially hundreds of different copyright notes in + documentation materials, etc. + + +Communication +------------- + +* Before you start working on a larger contribution, you should get in touch + with us first through the + [kyua-discuss mailing + list](https://groups.google.com/forum/#!forum/kyua-discuss) + with your idea so that we can help out and possibly guide you. Coordinating + upfront makes it much easier to avoid frustration later on. + +* Subscribe to the + [kyua-log mailing list](https://groups.google.com/forum/#!forum/kyua-log) to + get notifications on new commits, Travis CI results, or changes to bugs. + + +Git workflow +------------ + +* Always work on a non-master branch. + +* Make sure the history of your branch is clean. (Ab)use `git rebase -i master` + to ensure the sequence of commits you want pulled is easy to follow and that + every commit does one (and only one) thing. In particular, commits of the + form `Fix previous` or `Fix build` should never ever exist; merge those fixes + into the relevant commits so that the history is clean at pull time. + +* Always trigger Travis CI builds for your changes (hence why working on a + branch is important). Push your branch to GitHub so that Travis CI picks it + up and performs a build. If you have forked the repository, you may need to + enable Travis CI builds on your end. Wait for a green result. + +* It is OK and expected for you to `git push --force` on **non-master** + branches. This is required if you need to go through the commit/test cycle + more than once for any given branch after you have "fixed-up" commits to + correct problems spotted in earlier builds. + +* Do not send pull requests that subsume other/older pull requests. Each major + change being submitted belongs in a different pull request, which is trivial + to achieve if you use one branch per change as requested in this workflow. + + +Code reviews +------------ + +* All changes will be subject to code reviews pre-merge time. In other words: + all pull requests will be carefully inspected before being accepted and they + will be returned to you with comments if there are issues to be fixed. + +* Be careful of stylistic errors in your code (see below for style guidelines). + Style violations hinder the review process and distract from the actual code. + By keeping your code clean of style issues upfront, you will speed up the + review process and avoid frustration along the way. + +* Whenever you are ready to submit a pull request, review the *combined diff* + you are requesting to be pulled and look for issues. This is the diff that + will be subject to review, not necessarily the individual commits. You can + view this diff in GitHub at the bottom of the `Open a pull request` form that + appears when you click the button to file a pull request, or you can see the + diff by typing `git diff <your-branch> master`. + + +Commit messages +--------------- + +* Follow standard Git commit message guidelines. The first line has a maximum + length of 50 characters, does not terminate in a period, and has to summarize + the whole commit. Then a blank line comes, and then multiple plain-text + paragraphs provide details on the commit if necessary with a maximum length of + 72-75 characters per line. Vim has syntax highlighting for Git commit + messages and will let you know when you go above the maximum line lengths. + +* Use the imperative tense. Say `Add foo-bar` or `Fix baz` instead of `Adding + blah`, `Adds bleh`, or `Added bloh`. + + +Handling bug tracker issues +--------------------------- + +* All changes pushed to `master` should cross-reference one or more issues in + the bug tracker. This is particularly important for bug fixes, but also + applies to major feature improvements. + +* Unless you have a good reason to do otherwise, name your branch `issue-N` + where `N` is the number of the issue being fixed. + +* If the fix to the issue can be done *in a single commit*, terminate the commit + message with `Fixes #N.` where `N` is the number of the issue being fixed and + include a note in `NEWS` about the issue in the same commit. Such fixes can + be merged onto master using fast-forward (the default behavior of `git + merge`). + +* If the fix to the issue requires *more than one commit*, do **not** include + `Fixes #N.` in any of the individual commit messages of the branch nor include + any changes to the `NEWS` file in those commits. These "announcement" changes + belong in the merge commit onto `master`, which is done by `git merge --no-ff + --no-commit your-branch`, followed by an edit of `NEWS`, and terminated with a + `git commit -a` with the proper note on the bug being fixed. + + +Style guide +----------- + +These notes are generic and certainly *non-exhaustive*: + +* Respect formatting of existing files. Note where braces are placed, number of + blank lines between code chunks, how continuation lines are indented, how + docstrings are typed, etc. + +* Indentation is *always* done using spaces, not tabs. The only exception is in + `Makefile`s, where any continuation line within a target must be prefixed by a + *single tab*. + +* [Be mindful of spelling and + grammar.](http://julipedia.meroh.net/2013/06/readability-mind-your-typos-and-grammar.html) + Mistakes of this kind are enough of a reason to return a pull request. + +* Use proper punctuation for all sentences. Always start with a capital letter + and terminate with a period. + +* Respect lexicographical sorting wherever possible. + +* Lines must not be over 80 characters. + +* No trailing whitespace. + +* Two spaces after end-of-sentence periods. + +* Two blank lines between functions. If there are two blank lines among code + blocks, they usually exist for a reason: keep them. + +* In C++ code, prefix all C identifiers (those coming from `extern "C"` + includes) with `::`. + +* Getter functions/methods only need to be documented via `\return`. A + redundant summary is not necessary. Added: vendor/kyua/dist/CONTRIBUTORS ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ vendor/kyua/dist/CONTRIBUTORS Tue Mar 17 16:56:50 2020 (r359042) @@ -0,0 +1,20 @@ +# This is the list of people who have agreed to one of the CLAs and can +# contribute patches to the Kyua project. +# +# The AUTHORS file lists the copyright holders; this file lists people. +# For example: Google employees are listed here but not in AUTHORS +# because Google holds the copyright. +# +# See the following links for details on the CLA: +# +# https://developers.google.com/open-source/cla/individual +# https://developers.google.com/open-source/cla/corporate +# +# Names are sorted by last name and should be added as: +# +# * Name <email address> + +* Sergey Bronnikov <sergeyb@openvz.org> +* Enji Cooper <yaneurabeya@gmail.com> +* Julio Merino <jmmv@google.com> +* Craig Rodrigues <rodrigc@crodrigues.org> Added: vendor/kyua/dist/Doxyfile.in ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ vendor/kyua/dist/Doxyfile.in Tue Mar 17 16:56:50 2020 (r359042) @@ -0,0 +1,59 @@ +# Copyright 2010 The Kyua Authors. +# All rights reserved. +# +# Redistribution and use in source and binary forms, with or without +# modification, are permitted provided that the following conditions are +# met: +# +# * Redistributions of source code must retain the above copyright +# notice, this list of conditions and the following disclaimer. +# * Redistributions in binary form must reproduce the above copyright +# notice, this list of conditions and the following disclaimer in the +# documentation and/or other materials provided with the distribution. +# * Neither the name of Google Inc. nor the names of its contributors +# may be used to endorse or promote products derived from this software +# without specific prior written permission. +# +# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS +# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT +# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR +# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT +# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT +# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, +# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY +# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE +# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +BUILTIN_STL_SUPPORT = YES +ENABLE_PREPROCESSING = YES +EXCLUDE_SYMBOLS = "ATF_TC*" +EXTRACT_ANON_NSPACES = YES +EXTRACT_LOCAL_CLASSES = YES +EXTRACT_PRIVATE = YES +EXTRACT_STATIC = YES +EXPAND_ONLY_PREDEF = YES +EXTENSION_MAPPING = ipp = C++ +FILE_PATTERNS = *.c *.h *.cpp *.hpp *.ipp +GENERATE_LATEX = NO +GENERATE_TAGFILE = @top_builddir@/api-docs/api-docs.tag +HIDE_FRIEND_COMPOUNDS = YES +INPUT = @top_srcdir@ +INPUT_ENCODING = ISO-8859-1 +JAVADOC_AUTOBRIEF = YES +MACRO_EXPANSION = YES +OUTPUT_DIRECTORY = @top_builddir@/api-docs +OUTPUT_LANGUAGE = English +PREDEFINED += "KYUA_DEFS_NORETURN=" +PREDEFINED += "KYUA_DEFS_FORMAT_PRINTF(x, y)=" +PROJECT_NAME = "@PACKAGE_NAME@" +PROJECT_NUMBER = @VERSION@ +QUIET = YES +RECURSIVE = YES +SORT_BY_SCOPE_NAME = YES +SORT_MEMBERS_CTORS_1ST = YES +WARN_IF_DOC_ERROR = YES +WARN_IF_UNDOCUMENTED = YES +WARN_NO_PARAMDOC = YES +WARNINGS = YES Added: vendor/kyua/dist/INSTALL.md ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ vendor/kyua/dist/INSTALL.md Tue Mar 17 16:56:50 2020 (r359042) @@ -0,0 +1,268 @@ +Installation instructions +========================= + +Kyua uses the GNU Automake, GNU Autoconf and GNU Libtool utilities as +its build system. These are used only when compiling the application +from the source code package. If you want to install Kyua from a binary +package, you do not need to read this document. + +For the impatient: + + $ ./configure + $ make + $ make check + Gain root privileges + # make install + Drop root privileges + $ make installcheck + +Or alternatively, install as a regular user into your home directory: + + $ ./configure --prefix ~/local + $ make + $ make check + $ make install + $ make installcheck + + +Dependencies +------------ + +To build and use Kyua successfully you need: + +* A standards-compliant C and C++ complier. +* Lutok 0.4. +* pkg-config. +* SQLite 3.6.22. + +To build the Kyua tests, you optionally need: + +* The Automated Testing Framework (ATF), version 0.15 or greater. This + is required if you want to create a distribution file. + +If you are building Kyua from the code on the repository, you will also +need the following tools: + +* GNU Autoconf. +* GNU Automake. +* GNU Libtool. + + +Regenerating the build system +----------------------------- + +This is not necessary if you are building from a formal release +distribution file. + +On the other hand, if you are building Kyua from code extracted from the +repository, you must first regenerate the files used by the build +system. You will also need to do this if you modify `configure.ac`, +`Makefile.am` or any of the other build system files. To do this, simply +run: + + $ autoreconf -i -s + +If ATF is installed in a different prefix than Autoconf, you will also +need to tell autoreconf where the ATF M4 macros are located. Otherwise, +the configure script will be incomplete and will show confusing syntax +errors mentioning, for example, `ATF_CHECK_SH`. To fix this, you have +to run autoreconf in the following manner, replacing `<atf-prefix>` with +the appropriate path: + + $ autoreconf -i -s -I <atf-prefix>/share/aclocal + + +General build procedure +----------------------- + +To build and install the source package, you must follow these steps: + +1. Configure the sources to adapt to your operating system. This is + done using the `configure` script located on the sources' top + directory, and it is usually invoked without arguments unless you + want to change the installation prefix. More details on this + procedure are given on a later section. + +2. Build the sources to generate the binaries and scripts. Simply run + `make` on the sources' top directory after configuring them. No + problems should arise. + +3. Check that the built programs work by running `make check`. You do + not need to be root to do this, but if you are not, some checks will + be skipped. + +4. Install the program by running `make install`. You may need to + become root to issue this step. + +5. Issue any manual installation steps that may be required. These are + described later in their own section. + +6. Check that the installed programs work by running `make + installcheck`. You do not need to be root to do this, but if you are + not, some checks will be skipped. + + +Configuration flags +------------------- + +The most common, standard flags given to `configure` are: + +* `--prefix=directory`: + **Possible values:** Any path. + **Default:** `/usr/local`. + + Specifies where the program (binaries and all associated files) will + be installed. + +* `--sysconfdir=directory`: + **Possible values:** Any path. + **Default:** `/usr/local/etc`. + + Specifies where the installed programs will look for configuration + files. `/kyua` will be appended to the given path unless + `KYUA_CONFSUBDIR` is redefined as explained later on. + +* `--help`: + + Shows information about all available flags and exits immediately, + without running any configuration tasks. + +The following environment variables are specific to Kyua's `configure` +script: + +* `GDB`: + **Possible values:** empty, absolute path to GNU GDB. + **Default:** empty. + + Specifies the path to the GNU GDB binary that Kyua will use to gather a + stack trace of a crashing test program. If empty, the configure script + will try to find a suitable binary for you and, if not found, Kyua will + attempt to do the search at run time. + +* `KYUA_ARCHITECTURE`: + **Possible values:** name of a CPU architecture (e.g. `x86_64`, `powerpc`). + **Default:** autodetected; typically the output of `uname -p`. + + Specifies the name of the CPU architecture on which Kyua will run. + This value is used at run-time to determine tests that are not + applicable to the host system. + +* `KYUA_CONFSUBDIR`: + **Possible values:** empty, a relative path. + **Default:** `kyua`. + + Specifies the subdirectory of the configuration directory (given by + the `--sysconfdir` argument) under which Kyua will search for its + configuration files. + +* `KYUA_CONFIG_FILE_FOR_CHECK`: + **Possible values:** none, an absolute path to an existing file. + **Default:** none. + + Specifies the `kyua.conf` configuration file to use when running any + of the `check`, `installcheck` or `distcheck` targets on this source + tree. This setting is exclusively used to customize the test runs of + Kyua itself and has no effect whatsoever on the built product. + +* `KYUA_MACHINE`: + **Possible values:** name of a machine type (e.g. `amd64`, `macppc`). + **Default:** autodetected; typically the output of `uname -m`. + + Specifies the name of the machine type on which Kyua will run. This + value is used at run-time to determine tests that are not applicable + to the host system. + +* `KYUA_TMPDIR`: + **Possible values:** an absolute path to a temporary directory. + **Default:** `/tmp`. + + Specifies the path that Kyua will use to create temporary directories + in by default. + +The following flags are specific to Kyua's `configure` script: + +* `--enable-developer`: + **Possible values:** `yes`, `no`. + **Default:** `yes` in Git `HEAD` builds; `no` in formal releases. + + Enables several features useful for development, such as the inclusion + of debugging symbols in all objects or the enforcement of compilation + warnings. + + The compiler will be executed with an exhaustive collection of warning + detection features regardless of the value of this flag. However, such + warnings are only fatal when `--enable-developer` is `yes`. + +* `--with-atf`: + **Possible values:** `yes`, `no`, `auto`. + **Default:** `auto`. + + Enables usage of ATF to build (and later install) the tests. + + Setting this to `yes` causes the configure script to look for ATF + unconditionally and abort if not found. Setting this to `auto` lets + configure perform the best decision based on availability of ATF. + Setting this to `no` explicitly disables ATF usage. + + When support for tests is enabled, the build process will generate the + test programs and will later install them into the tests tree. + Running `make check` or `make installcheck` from within the source + directory will cause these tests to be run with Kyua. + +* `--with-doxygen`: + **Possible values:** `yes`, `no`, `auto` or a path. + **Default:** `auto`. + + Enables usage of Doxygen to generate documentation for internal APIs. + This documentation is *not* installed and is only provided to help the + developer of this package. Therefore, enabling or disabling Doxygen + causes absolutely no differences on the files installed by this + package. + + Setting this to `yes` causes the configure script to look for Doxygen + unconditionally and abort if not found. Setting this to `auto` lets + configure perform the best decision based on availability of Doxygen. + Setting this to `no` explicitly disables Doxygen usage. And, lastly, + setting this to a path forces configure to use a specific Doxygen + binary, which must exist. + + +Post-installation steps +----------------------- + +Copy the `Kyuafile.top` file installed in the examples directory to the +root of your tests hierarchy and name it `Kyuafile`. For example: + + # cp /usr/local/share/kyua/examples/Kyuafile.top \ + /usr/local/tests/Kyuafile + +This will allow you to simply go into `/usr/tests` and run the tests +from there. + + +Run the tests! +-------------- + +Lastly, after a successful installation, you should periodically run the +tests from the final location to ensure things remain stable. Do so as +follows: + + $ cd /usr/local/kyua && kyua test + +The following configuration variables are specific to the 'kyua' test +suite and can be given to Kyua with arguments of the form +`-v test_suites.kyua.<variable_name>=<value>`: + +* `run_coredump_tests`: + **Possible values:** `true` or `false`. + **Default:** `true`. + + Avoids running tests that crash subprocesses on purpose to make them + dump core. Such tests are particularly slow on macOS, and it is + sometimes handy to disable them for quicker development iteration. + +If you see any tests fail, do not hesitate to report them in: + + https://github.com/jmmv/kyua/issues/ + +Thank you! Added: vendor/kyua/dist/Kyuafile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ vendor/kyua/dist/Kyuafile Tue Mar 17 16:56:50 2020 (r359042) @@ -0,0 +1,18 @@ +syntax(2) + +test_suite("kyua") + +include("bootstrap/Kyuafile") +include("cli/Kyuafile") +if fs.exists("doc/Kyuafile") then + -- The tests for the docs are not installed because they only cover the + -- build-time process of the manual pages. + include("doc/Kyuafile") +end +include("drivers/Kyuafile") +include("engine/Kyuafile") +include("examples/Kyuafile") +include("integration/Kyuafile") +include("model/Kyuafile") +include("store/Kyuafile") +include("utils/Kyuafile") Added: vendor/kyua/dist/LICENSE ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ vendor/kyua/dist/LICENSE Tue Mar 17 16:56:50 2020 (r359042) @@ -0,0 +1,27 @@ +Copyright 2010-2015 The Kyua Authors. +All rights reserved. + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions are +met: + +* Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. +* Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. +* Neither the name of Google Inc. nor the names of its contributors + may be used to endorse or promote products derived from this software + without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS +"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT +LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR +A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT +OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT +LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, +DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY +THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE +OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. Added: vendor/kyua/dist/Makefile.am ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ vendor/kyua/dist/Makefile.am Tue Mar 17 16:56:50 2020 (r359042) @@ -0,0 +1,186 @@ +# Copyright 2010 The Kyua Authors. +# All rights reserved. +# +# Redistribution and use in source and binary forms, with or without +# modification, are permitted provided that the following conditions are +# met: +# +# * Redistributions of source code must retain the above copyright +# notice, this list of conditions and the following disclaimer. +# * Redistributions in binary form must reproduce the above copyright +# notice, this list of conditions and the following disclaimer in the +# documentation and/or other materials provided with the distribution. +# * Neither the name of Google Inc. nor the names of its contributors +# may be used to endorse or promote products derived from this software +# without specific prior written permission. +# +# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS +# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT +# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR +# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT +# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT +# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, +# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY +# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE +# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +ACLOCAL_AMFLAGS = -I m4 + +CHECK_BOOTSTRAP_DEPS = +CHECK_KYUA_DEPS = +CHECK_LOCAL = +CLEAN_TARGETS = +DIST_HOOKS = +PHONY_TARGETS = +CLEANFILES = + +EXTRA_DIST = +noinst_DATA = +noinst_LIBRARIES = +noinst_SCRIPTS = + +doc_DATA = AUTHORS CONTRIBUTING.md CONTRIBUTORS LICENSE NEWS.md +noinst_DATA += INSTALL.md README.md +EXTRA_DIST += $(doc_DATA) INSTALL.md README.md + +if WITH_ATF +tests_topdir = $(pkgtestsdir) + +tests_top_DATA = Kyuafile +EXTRA_DIST += $(tests_top_DATA) +endif + +include admin/Makefile.am.inc +include bootstrap/Makefile.am.inc +include cli/Makefile.am.inc +include doc/Makefile.am.inc +include drivers/Makefile.am.inc +include engine/Makefile.am.inc +include examples/Makefile.am.inc +include integration/Makefile.am.inc +include misc/Makefile.am.inc +include model/Makefile.am.inc +include store/Makefile.am.inc +include utils/Makefile.am.inc + +bin_PROGRAMS = kyua +kyua_SOURCES = main.cpp +kyua_CXXFLAGS = $(CLI_CFLAGS) $(ENGINE_CFLAGS) $(UTILS_CFLAGS) +kyua_LDADD = $(CLI_LIBS) $(ENGINE_LIBS) $(UTILS_LIBS) + +CHECK_ENVIRONMENT = KYUA_CONFDIR="/non-existent" \ + KYUA_DOCDIR="$(abs_top_srcdir)" \ + KYUA_EXAMPLESDIR="$(abs_top_srcdir)/examples" \ + KYUA_MISCDIR="$(abs_top_srcdir)/misc" \ + KYUA_STOREDIR="$(abs_top_srcdir)/store" \ + KYUA_STORETESTDATADIR="$(abs_top_srcdir)/store" \ + PATH="$(abs_top_builddir):$${PATH}" +INSTALLCHECK_ENVIRONMENT = KYUA_CONFDIR="/non-existent" \ + PATH="$(prefix)/bin:$${PATH}" + +# Generate local-kyua, a wrapper shell script to run the just-built 'kyua' +# binary by pointing it to the possibly not-yet-installed data files in the +# build tree. +noinst_SCRIPTS += local-kyua +CLEANFILES += local-kyua local-kyua.tmp +local-kyua: Makefile + $(AM_V_GEN)echo '#!/bin/sh' >local-kyua.tmp; \ + echo 'env $(CHECK_ENVIRONMENT) $(TESTS_ENVIRONMENT)' \ + '"$(abs_top_builddir)/kyua" \ + --config='$(KYUA_CONFIG_FILE_FOR_CHECK)' \ + "$${@}"' >>local-kyua.tmp; \ + chmod +x local-kyua.tmp; \ + mv -f local-kyua.tmp local-kyua + +if WITH_ATF +CHECK_LOCAL += dump-ulimits check-kyua +PHONY_TARGETS += check-kyua +check-kyua: $(CHECK_KYUA_DEPS) + @failed=no; \ + ./local-kyua test \ + --kyuafile='$(top_srcdir)/Kyuafile' --build-root='$(top_builddir)' \ + || failed=yes; \ + if [ "$${failed}" = yes ]; then \ + ./local-kyua report --results-file='$(abs_top_srcdir)' \ + --verbose --results-filter=broken,failed; \ + exit 1; \ + fi + +installcheck-local: dump-ulimits installcheck-kyua +PHONY_TARGETS += installcheck-kyua +installcheck-kyua: + @failed=no; \ + cd $(pkgtestsdir) && $(INSTALLCHECK_ENVIRONMENT) $(TESTS_ENVIRONMENT) \ + kyua --config='$(KYUA_CONFIG_FILE_FOR_CHECK)' test \ + || failed=yes; \ + if [ "$${failed}" = yes ]; then \ + cd $(pkgtestsdir) && $(INSTALLCHECK_ENVIRONMENT) \ + $(TESTS_ENVIRONMENT) \ + kyua --config='$(KYUA_CONFIG_FILE_FOR_CHECK)' report \ + --verbose --results-filter=broken,failed; \ + exit 1; \ + fi + +# TODO(jmmv): kyua should probably be recording this information itself as part +# of the execution context, just as we record environment variables. +PHONY_TARGETS += dump-ulimits +dump-ulimits: + @echo "Resource limits:" + @{ \ + ulimit -a | sed -e 's,$$, (soft),'; \ + ulimit -a -H | sed -e 's,$$, (hard),'; \ + } | sort | sed -e 's,^, ,' + @echo +else +DIST_HOOKS += forbid-dist +PHONY_TARGETS += forbid-dist +forbid-dist: + @echo "Sorry; cannot make dist without atf." + @false +endif +check-local: $(CHECK_LOCAL) + +if WITH_DOXYGEN +# Runs doxygen on the source tree and validates the contents of the docstrings. +# We do not do this by default, even if doxygen has been enabled, because this +# step takes a long time. Instead, we just rely on a Travis CI build to catch +# inconsistencies. +PHONY_TARGETS += check-api-docs +check-api-docs: api-docs/api-docs.tag + @$(AWK) -f $(srcdir)/admin/check-api-docs.awk api-docs/doxygen.out + +api-docs/api-docs.tag: $(builddir)/Doxyfile $(SOURCES) + @$(MKDIR_P) api-docs + @rm -f api-docs/doxygen.out api-docs/doxygen.out.tmp + $(AM_V_GEN)$(DOXYGEN) $(builddir)/Doxyfile \ + >api-docs/doxygen.out.tmp 2>&1 && \ + mv api-docs/doxygen.out.tmp api-docs/doxygen.out + +CLEAN_TARGETS += clean-api-docs +clean-api-docs: + rm -rf api-docs +endif + +# Replace Automake's builtin check-news functionality so that we can validate +# the NEWS.md file instead of NEWS. +DIST_HOOKS += check-news +PHONY_TARGETS += check-news +check-news: + @case "$$(sed 15q "$(srcdir)/NEWS.md")" in \ + *"$(VERSION)"*) : ;; \ + *) \ + echo "NEWS.md not updated; not releasing" 1>&2; \ + exit 1 \ + ;; \ + esac + +clean-local: $(CLEAN_TARGETS) +dist-hook: $(DIST_HOOKS) + +PHONY_TARGETS += clean-all +clean-all: + GIT="$(GIT)" $(SH) $(srcdir)/admin/clean-all.sh + +.PHONY: $(PHONY_TARGETS) Added: vendor/kyua/dist/NEWS.md ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ vendor/kyua/dist/NEWS.md Tue Mar 17 16:56:50 2020 (r359042) @@ -0,0 +1,622 @@ +Major changes between releases +============================== + + +Changes in version 0.14 +----------------------- + +**NOT RELEASED YET; STILL UNDER DEVELOPMENT.** + +* Explicitly require C++11 language features when compiling Kyua. + + +Changes in version 0.13 +----------------------- + +**Released on August 26th, 2016.** + +* Fixed execution of test cases as an unprivileged user, at least under + NetBSD 7.0. Kyua-level failures were probably a regression introduced + in Kyua 0.12, but the underlying may have existed for much longer: + test cases might have previously failed for mysterious reasons when + running under an unprivileged user. + +* Issue #134: Fixed metadata test broken on 32-bit platforms. + +* Issue #139: Added per-test case start/end timestamps to all reports. + +* Issue #156: Fixed crashes due to the invalid handling of cleanup + routine data and triggered by the reuse of PIDs in long-running Kyua + instances. + +* Issue #159: Fixed TAP parser to ignore case while matching `TODO` and + `SKIP` directives, and to also recognize `Skipped`. + +* Fixed potential crash due to a race condition in the unprogramming of + timers to control test deadlines. + + +Changes in version 0.12 +----------------------- + +**Released on November 22nd, 2015.** + +This is a huge release and marks a major milestone for Kyua as it finally +implements a long-standing feature request: the ability to execute test +cases in parallel. This is a big deal because test cases are rarely +CPU-bound: running them in parallel yields much faster execution times for +large test suites, allowing faster iteration of changes during development. + +As an example: the FreeBSD test suite as of this date contains 3285 test +cases. With sequential execution, a full test suite run takes around 12 +minutes to complete, whereas on a 4-core machine with a high level of +parallelism it takes a little over 1 minute. + +Implementing parallel execution required rewriting most of Kyua's core and +partly explains explains why there has not been a new release for over a +year. The current implementation is purely subprocess-based, which works +but has some limitations and has resulted in a core that is really complex +and difficult to understand. Future versions will investigate the use of +threads instead for a simplified programming model and additional +parallelization possibilities. + +* Issue #2: Implemented support to execute test cases in parallel when + invoking `kyua test`. Parallel execution is *only* enabled when the new + `parallelism` configuration variable is set to a value greater than `1`. + The default behavior is still to run tests sequentially because some test + suites contain test cases with side-effects that might fail when run in + parallel. To resolve this, the new metadata property `is_exclusive` can + be set to `true` on a test basis to indicate that the test must be run on + its own. + +* Known regression: Running `kyua debug` on a TAP-based test program does + not currently report the output in real time. The output will only be + displayed once the test program completes. This is a shortcoming of + the new parallel execution engine and will be resolved. + +* Removed the external C-based testers code in favor of the new built-in + implementations. The new approach feels significantly faster than the + previous one. + +* Fixed the handling of relative paths in the `fs.*` functions available + in `Kyuafile`s. All paths are now resolved relative to the location of + the caller `Kyuafile`. `Kyuafile.top` has been updated with these + changes and you should update custom copies of this file with the new + version. + +* Changed temporary directory creation to always grant search + permissions on temporary directories. This is to prevent potential + problems when running Kyua as root and executing test cases that require + dropping privileges (as they may later be unable to use absolute paths + that point inside their work directory). + +* The cleanup of work directories does not longer attempt to deal with + mount points. If a test case mounts a file system and forgets to unmount + it, the mount point will be left behind. It is now the responsibility of + the test case to clean after itself. The reasons for this change are + simplicity and clarity: there are many more things that a test case can + do that have side-effects on the system and Kyua cannot protect against + them all, so it is better to just have the test undo anything it might + have done. + +* Improved `kyua report --verbose` to properly handle environment + variables with continuation lines in them, and fixed the integration + tests for this command to avoid false negatives. + +* Changed the configuration file format to accept the definition of + unknown variables without declaring them local. The syntax version + number remains at 2. This is to allow configuration files for newer Kyua + versions to work on older Kyua versions, as there is no reason to forbid + this. + +* Fixed stacktrace gathering with FreeBSD's ancient version of GDB. + GDB 6.1.1 (circa 2004) does not have the `-ex` flag so we need to + generate a temporary GDB script and feed it to GDB with `-x` instead. + +* Issue #136: Fixed the XML escaping in the JUnit output so that + non-printable characters are properly handled when they appear in the + process's stdout or stderr. + +* Issue #141: Improved reporting of errors triggered by sqlite3. In + particular, all error messages are now tagged with their corresponding + database filename and, if they are API-level errors, the name of the + sqlite3 function that caused them. + +* Issue #144: Improved documentation on the support for custom properties + in the test metadata. + +* Converted the `INSTALL`, `NEWS`, and `README` distribution documents to + Markdown for better formatting online. + + +Changes in version 0.11 +----------------------- *** DIFF OUTPUT TRUNCATED AT 1000 LINES ***
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202003171656.02HGuoNJ086537>