summary = Summary.get(args)
# Keep list in sync with TEST-06-SELINUX.sh
- if args.name == 'TEST-06-SELINUX' and summary.distribution not in ('fedora', 'centos'):
- print('Skipping TEST-06-SELINUX, only enabled for Fedora/CentOS', file=sys.stderr)
+ if args.name == 'TEST-06-SELINUX' and summary.distribution not in ('centos', 'fedora', 'opensuse'):
+ print('Skipping TEST-06-SELINUX, only enabled for CentOS/Fedora/openSUSE', file=sys.stderr)
exit(77)
if shell and not sys.stdin.isatty():
set -o pipefail
. /etc/os-release
-if ! [[ "$ID" =~ centos|fedora ]]; then
- echo "Skipping because only CentOS and Fedora support SELinux tests" >>/skipped
+if ! [[ "$ID" =~ centos|fedora|opensuse ]]; then
+ echo "Skipping because only CentOS, Fedora and openSUSE support SELinux tests" >>/skipped
exit 77
fi