- fixed indentation
- the test requires python3-pip
Fixes:
Running 'PipVersion=$(pip3 show selinux | grep Version)'
/usr/share/beakerlib/testing.sh: line 891: pip3: command not found
- import sys
Fixes:
Running 'python3 -c 'import selinux; rc = selinux.is_selinux_enabled(); sys.exit(rc)''
Traceback (most recent call last):
File "<string>", line 1, in <module>
NameError: name 'sys' is not defined
Rather than enumerating RHEL versions, use comparison against
"known-good" version to make the expressions easier to read and
understand.
Also convert users of '~<' to '<', as '~<' compares only minor versions
within the same major.
Signed-off-by: Ondrej Mosnacek <omosnace@redhat.com>
Relevancy changes are made based on recommendations from:
tmt test lint --fix
Some packages are available for Fedoras only and are not available
for RHELs at all.
Some packages are available for latest RHEL major versions only.