mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2025-01-11 00:31:56 -06:00
Add test for ticket 7604: ipa-client-install --mkhomedir doesn't enable oddjobd
Add a test checking that ipa-client-install --mkhomedir is properly enableing/starting oddjobd. Related to: https://pagure.io/freeipa/issue/7604 Reviewed-By: Christian Heimes <cheimes@redhat.com>
This commit is contained in:
parent
a39f656340
commit
7bf99e8dc5
@ -144,6 +144,8 @@ class TestClientInstallation(IntegrationTest):
|
||||
# Configure a profile winbind with feature with-fingerprint
|
||||
apply_authselect_profile(
|
||||
self.client, preconfigured_profile, preconfigured_options)
|
||||
# Make sure that oddjobd is disabled and stopped
|
||||
self.client.run_command(["systemctl", "disable", "oddjobd", "--now"])
|
||||
|
||||
# Call the installer, must succeed and store the winbind profile
|
||||
# in the statestore, but install sssd profile with-mkhomedir
|
||||
@ -155,6 +157,13 @@ class TestClientInstallation(IntegrationTest):
|
||||
check_authselect_profile(
|
||||
self.client, default_profile, ('with-mkhomedir', 'with-sudo'))
|
||||
|
||||
# Test for ticket 7604:
|
||||
# ipa-client-install --mkhomedir doesn't enable oddjobd
|
||||
# Check that oddjobd has been enabled and started
|
||||
# because --mkhomedir was used
|
||||
status = self.client.run_command(["systemctl", "status", "oddjobd"])
|
||||
assert "active (running)" in status.stdout_text
|
||||
|
||||
def test_uninstall_client_preconfigured_profile(self):
|
||||
"""
|
||||
Test client un-installation when a different profile was present
|
||||
|
Loading…
Reference in New Issue
Block a user