From 4fac6655bd329b89dcbab847837f23fea6763c22 Mon Sep 17 00:00:00 2001 From: Jake Hunsaker Date: Tue, 31 Aug 2021 16:17:57 -0400 Subject: [tests] Add tests for proper handling and logging of conf file options Adds a new report test that ensures that options set in `sos.conf` are picked up, handled properly, and logged as we expect them to be. Signed-off-by: Jake Hunsaker --- tests/test_data/etc/sos/options_tests_sos.conf | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 tests/test_data/etc/sos/options_tests_sos.conf (limited to 'tests/test_data') diff --git a/tests/test_data/etc/sos/options_tests_sos.conf b/tests/test_data/etc/sos/options_tests_sos.conf new file mode 100644 index 00000000..c0f641d9 --- /dev/null +++ b/tests/test_data/etc/sos/options_tests_sos.conf @@ -0,0 +1,18 @@ +[global] +#verbose = 3 + +[report] +skip-plugins = networking,logs +case-id = 8675309 + +[collect] +#primary = myhost.example.com + +[clean] +#no-update = true + +[plugin_options] +#rpm.rpmva = off +kernel.with-timer = on +kernel.trace = yes +networking.traceroute = yes -- cgit