diff --git a/tests/.fmf/version b/.fmf/version similarity index 100% rename from tests/.fmf/version rename to .fmf/version diff --git a/tests/plans/all.fmf b/tests/plans/all.fmf new file mode 100644 index 0000000..d538d2d --- /dev/null +++ b/tests/plans/all.fmf @@ -0,0 +1,8 @@ +summary: Run gating tests +discover: + how: fmf + dist-git-source: true + dist-git-type: centos + +execute: + how: tmt diff --git a/tests/scripts/main.fmf b/tests/scripts/main.fmf new file mode 100644 index 0000000..4ac7772 --- /dev/null +++ b/tests/scripts/main.fmf @@ -0,0 +1,6 @@ +summary: Run tlog tier1 tests +require: + - git + - tlog +test: ./run_tests.sh -m tier1 +duration: 30m diff --git a/tests/scripts/run_tests.sh b/tests/scripts/run_tests.sh index 609bd87..ae20f58 100755 --- a/tests/scripts/run_tests.sh +++ b/tests/scripts/run_tests.sh @@ -9,6 +9,14 @@ if rlIsRHEL '>=9'; then dnf --enablerepo rhel-buildroot install python3-pytest -y fi +# RHEL10 cloud-init disables password authentication +# tlog tests need this to run currently +cat > /etc/ssh/sshd_config.d/00-tlog-override.conf <