aboutsummaryrefslogtreecommitdiffstats
path: root/tests/test_data
diff options
context:
space:
mode:
authorJake Hunsaker <jhunsake@redhat.com>2021-08-31 16:17:57 -0400
committerJake Hunsaker <jhunsake@redhat.com>2021-09-08 09:40:35 -0400
commit4fac6655bd329b89dcbab847837f23fea6763c22 (patch)
treee355f1cbd703532bd4488b3015543bfb143c1bcc /tests/test_data
parentc7802cf5cfea8ca62a4342f1793fce5a5d22362c (diff)
downloadsos-4fac6655bd329b89dcbab847837f23fea6763c22.tar.gz
[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 <jhunsake@redhat.com>
Diffstat (limited to 'tests/test_data')
-rw-r--r--tests/test_data/etc/sos/options_tests_sos.conf18
1 files changed, 18 insertions, 0 deletions
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