Skip to content

Commit

Permalink
Remove BZ check which is migrated to Jira and Add new BZ check causin…
Browse files Browse the repository at this point in the history
…g selinux denials (#13923)

Remove_NonExistent_BZ
  • Loading branch information
shweta83 authored Feb 13, 2024
1 parent 0be99dd commit cf3de35
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 cf3de35

Please sign in to comment.