aboutsummaryrefslogtreecommitdiffstats
path: root/tests/test_data
diff options
context:
space:
mode:
authorJake Hunsaker <jhunsake@redhat.com>2021-03-29 13:20:56 -0400
committerJake Hunsaker <jhunsake@redhat.com>2021-04-15 11:33:04 -0400
commit05b456451be1340cf94efacb37fae5130f60f5e1 (patch)
tree240f2946bbcdef4f4eab40028d36da5b40ecec8b /tests/test_data
parent14910480f1301385d7b83c8d045dc7b1699d37e0 (diff)
downloadsos-05b456451be1340cf94efacb37fae5130f60f5e1.tar.gz
[tests] Add plugin tests for basic functionality
Adds several plugin tests for plugins that can be expected to run on all distributions, in particular these tests are including mostly Stage Two tests. As such, these tests are only recommended to be run on test machines. Related: #2431 Signed-off-by: Jake Hunsaker <jhunsake@redhat.com>
Diffstat (limited to 'tests/test_data')
-rw-r--r--tests/test_data/etc/sos/extras.d/sos_testing.conf4
-rw-r--r--tests/test_data/etc/sudo-ldap.conf6
2 files changed, 10 insertions, 0 deletions
diff --git a/tests/test_data/etc/sos/extras.d/sos_testing.conf b/tests/test_data/etc/sos/extras.d/sos_testing.conf
new file mode 100644
index 00000000..40651f4d
--- /dev/null
+++ b/tests/test_data/etc/sos/extras.d/sos_testing.conf
@@ -0,0 +1,4 @@
+# this is a fake sos_extras config file
+#
+echo sos test
+:/etc/fstab
diff --git a/tests/test_data/etc/sudo-ldap.conf b/tests/test_data/etc/sudo-ldap.conf
new file mode 100644
index 00000000..76300658
--- /dev/null
+++ b/tests/test_data/etc/sudo-ldap.conf
@@ -0,0 +1,6 @@
+# This is a fake sudo-ldap.conf
+#
+# Nothing important is here
+uri ldaps://ldap.example.com
+binddn cn=sudo,dc=example,dc=com
+bindpw sostestpassword