URL: https://github.com/freeipa/freeipa/pull/4461 Author: mrizwan93 Title: #4461: ipatests: Test if slew mode is not set while configuring ntpd Action: opened
PR body: """ This is to ensure that slew mode (-x) is not configured while installing ipa-server. related: https://pagure.io/freeipa/issue/8242 Signed-off-by: Mohammad Rizwan Yusuf <myu...@redhat.com> """ To pull the PR as Git branch: git remote add ghfreeipa https://github.com/freeipa/freeipa git fetch ghfreeipa pull/4461/head:pr4461 git checkout pr4461
From 01c9dded8432428bcd787b3badde60e4421e2aae Mon Sep 17 00:00:00 2001 From: Mohammad Rizwan Yusuf <myu...@redhat.com> Date: Thu, 26 Mar 2020 17:00:14 +0530 Subject: [PATCH] ipatests: Test if slew mode is not set while configuring ntpd This is to ensure that slew mode (-x) is not configured while installing ipa-server. related: https://pagure.io/freeipa/issue/8242 Signed-off-by: Mohammad Rizwan Yusuf <myu...@redhat.com> --- ipatests/test_integration/test_installation.py | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/ipatests/test_integration/test_installation.py b/ipatests/test_integration/test_installation.py index c8725b55f2..b1cd763f1c 100755 --- a/ipatests/test_integration/test_installation.py +++ b/ipatests/test_integration/test_installation.py @@ -423,6 +423,17 @@ def install(cls, mh): def test_install_master(self): tasks.install_master(self.master, setup_dns=False) + def test_slew_mode_not_configured(self): + """Test if slew mode is not set while configuring ntpd + + This is to ensure that slew mode (-x) is not configured while + installing ipa-server. + + related: https://pagure.io/freeipa/issue/8242 + """ + result = self.master.run_command(['cat', paths.SYSCONFIG_NTPD]) + assert '-x' not in result.stdout_text + def test_schema_compat_attribute_and_tree_disable(self): """Test if schema-compat-entry-attribute is set
_______________________________________________ FreeIPA-devel mailing list -- freeipa-devel@lists.fedorahosted.org To unsubscribe send an email to freeipa-devel-le...@lists.fedorahosted.org Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedorahosted.org/archives/list/freeipa-devel@lists.fedorahosted.org