Skip to content

Commit

Permalink
[6.15.z] Remove BZ check which is migrated to Jira and Add new BZ che…
Browse files Browse the repository at this point in the history
…ck causing selinux denials (#14056)
  • Loading branch information
Satellite-QE authored Feb 13, 2024
1 parent 276a1fc commit d391317
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions tests/foreman/sys/test_pulp3_filesystem.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,15 +27,13 @@ def test_selinux_status(target_sat):
:expectedresults: SELinux is enabled and there are no denials
:customerscenario: true
:BZ: 2131031
:BZ: 2263294
"""
# check SELinux is enabled
result = target_sat.execute('getenforce')
assert 'Enforcing' in result.stdout
# check there are no SELinux denials
if not is_open('BZ:2131031'):
if not is_open('BZ:2263294'):
result = target_sat.execute('ausearch --input-logs -m avc -ts today --raw')
assert result.status == 1, 'Some SELinux denials were found in journal.'

Expand Down

0 comments on commit d391317

Please sign in to comment.