URL: https://github.com/freeipa/freeipa/pull/4460 Author: mrizwan93 Title: #4460: 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/4460/head:pr4460 git checkout pr4460
From 1b588dcde5ff7738ef9f76ca055cd6c9f5244e3b Mon Sep 17 00:00:00 2001 From: Mohammad Rizwan Yusuf <myu...@redhat.com> Date: Thu, 26 Mar 2020 15:00:53 +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_commands.py | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/ipatests/test_integration/test_commands.py b/ipatests/test_integration/test_commands.py index c92cad9471..444a123b79 100644 --- a/ipatests/test_integration/test_commands.py +++ b/ipatests/test_integration/test_commands.py @@ -145,6 +145,17 @@ def get_cert_base64(self, host, path): cader = ssl.PEM_cert_to_DER_cert(cacrt) return base64.b64encode(cader).decode('ascii') + def test_slew_mode_not_set(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_aes_sha_kerberos_enctypes(self): """Test AES SHA 256 and 384 Kerberos enctypes enabled
_______________________________________________ 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