Skip to content

Commit 7f82e29

Browse files
committed
Fix SELinux check in gsi-openssh
1 parent c1af4aa commit 7f82e29

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

osgtest/tests/test_280_gsiopenssh.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,9 +34,9 @@ def test_01_set_config(self):
3434
core.state['gsisshd.can-run'] = (not (
3535
core.el_release() >= 7 and
3636
core.state['selinux.mode'] and
37-
not core.dependency_is_installed("/usr/sbin/sestatus")))
37+
not core.dependency_is_installed("/usr/sbin/semanage")))
3838
self.skip_ok_unless(core.state['gsisshd.can-run'],
39-
"Can't run with SELinux on EL >= 7 without %s" % TestStartGSIOpenSSH.policycoreutils_rpm)
39+
"Can't run with SELinux on EL >= 7 without semanage")
4040

4141
files.write(
4242
SSHD_CONFIG,

0 commit comments

Comments
 (0)