diff options
author | Armin Kuster <akuster808@gmail.com> | 2022-06-11 06:40:54 -0700 |
---|---|---|
committer | Armin Kuster <akuster808@gmail.com> | 2022-06-18 06:48:22 -0700 |
commit | 4bb7e5b84af559a4142a7f197ee2057e70216a6d (patch) | |
tree | 6b2e29a45c404499bec54009fb859b35d8f8cc3f | |
parent | 23d501eb70e2a70da3d2f1288ac094c29bea0933 (diff) | |
download | meta-security-4bb7e5b84af559a4142a7f197ee2057e70216a6d.tar.gz |
oeqa: sssd.py fix tests
Signed-off-by: Armin Kuster <akuster808@gmail.com>
-rw-r--r-- | lib/oeqa/runtime/cases/sssd.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/oeqa/runtime/cases/sssd.py b/lib/oeqa/runtime/cases/sssd.py index 4644836..1dfdb94 100644 --- a/lib/oeqa/runtime/cases/sssd.py +++ b/lib/oeqa/runtime/cases/sssd.py | |||
@@ -28,10 +28,10 @@ class SSSDTest(OERuntimeTestCase): | |||
28 | 28 | ||
29 | @OETestDepends(['sssd.SSSDTest.test_sssd_sssctl_conf_perms_chk']) | 29 | @OETestDepends(['sssd.SSSDTest.test_sssd_sssctl_conf_perms_chk']) |
30 | def test_sssd_sssctl_deamon(self): | 30 | def test_sssd_sssctl_deamon(self): |
31 | status, output = self.target.run('sssctl domain-status') | 31 | status, output = self.target.run('sssctl domain-list') |
32 | match = re.search('No domains configured, fatal error!', output) | 32 | match = re.search('No domains configured, fatal error!', output) |
33 | if match: | 33 | if match: |
34 | msg = ('sssctl domain-status failed, sssd.conf not setup correctly. ' | 34 | msg = ('sssctl domain-list failed, sssd.conf not setup correctly. ' |
35 | 'Status and output:%s and %s' % (status, output)) | 35 | 'Status and output:%s and %s' % (status, output)) |
36 | self.assertEqual(status, 0, msg = msg) | 36 | self.assertEqual(status, 0, msg = msg) |
37 | 37 | ||