| |
@@ -79,7 +79,7 @@
|
| |
|
| |
rlPhaseStartTest "real scenario -- standalone service"
|
| |
rlRun "sed -i 's/^\(include.*\)$/# \1/' /etc/bgpd.conf"
|
| |
- if rlIsRHEL 8 ; then
|
| |
+ if rlIsRHEL 8 || rlIsCentOS 8 ; then
|
| |
# work around BZ#1830170 that was closed as WONTFIX
|
| |
rlRun "chcon -t bin_t /usr/sbin/bgpd"
|
| |
PROCESS_CONTEXT="unconfined_service_t"
|
| |
@@ -87,7 +87,7 @@
|
| |
rlSEService - ${SERVICE_NAME} ${PROCESS_NAME} ${PROCESS_CONTEXT} "start status" 1
|
| |
rlRun "restorecon -Rv /run /var -e /var/ARTIFACTS" 0-255
|
| |
rlSEService - ${SERVICE_NAME} ${PROCESS_NAME} ${PROCESS_CONTEXT} "restart status stop status" 1
|
| |
- if rlIsRHEL 8 ; then
|
| |
+ if rlIsRHEL 8 || rlIsCentOS 8 ; then
|
| |
# work around BZ#1830170 that was closed as WONTFIX
|
| |
rlRun "restorecon -v /usr/sbin/bgpd"
|
| |
fi
|
| |
Apparently, the first attempt to adjust the relevancy was not
complete. So here is another one.
Certain tests should not be executed on centos-stream 8 or 9 at all,
because packages required by those tests are not available there.
Certain tests need to reflect the fact that SELinux policies which
confine the tested programs are not present on all versions of RHEL,
CentOS or Fedora.