From 14b8dc7926d8077103d41e00e03d207a8bc0b495 Mon Sep 17 00:00:00 2001 From: Milos Malik Date: Oct 15 2021 14:53:11 +0000 Subject: convert test metadata for libsepol tests --- diff --git a/libsepol/Sanity/bz1838257-rpm-scripts-use-deprecated-telinit/main.fmf b/libsepol/Sanity/bz1838257-rpm-scripts-use-deprecated-telinit/main.fmf index d79a34a..3414fca 100644 --- a/libsepol/Sanity/bz1838257-rpm-scripts-use-deprecated-telinit/main.fmf +++ b/libsepol/Sanity/bz1838257-rpm-scripts-use-deprecated-telinit/main.fmf @@ -1,2 +1,26 @@ -path: /libsepol/Sanity/bz1838257-rpm-scripts-use-deprecated-telinit -tier: 1 +summary: The rpm scripts from libsepol uses out of date commands like telinit +description: | + Description: libsepol rpm scripts use deprecated telinit command + + Author: Amith Kumar + + Bugzilla links: + https://bugzilla.redhat.com/show_bug.cgi?id=1838257 + + Description of problem: + The rpm scripts from the rpm is using out of date commands like telinit. +contact: Amith Kumar +component: +- libsepol +recommend: +- libsepol +- libsepol-devel +- libselinux +- libselinux-devel +- libsemanage +- libsemanage-devel +- pkgconfig +link: +- relates: https://bugzilla.redhat.com/show_bug.cgi?id=1838257 +extra-summary: /CoreOS/libsepol/Sanity/bz1838257-rpm-scripts-use-deprecated-telinit +extra-task: /CoreOS/libsepol/Sanity/bz1838257-rpm-scripts-use-deprecated-telinit diff --git a/libsepol/Sanity/bz1838257-rpm-scripts-use-deprecated-telinit/runtest.sh b/libsepol/Sanity/bz1838257-rpm-scripts-use-deprecated-telinit/runtest.sh index 18dbf39..adf27a2 100755 --- a/libsepol/Sanity/bz1838257-rpm-scripts-use-deprecated-telinit/runtest.sh +++ b/libsepol/Sanity/bz1838257-rpm-scripts-use-deprecated-telinit/runtest.sh @@ -27,7 +27,6 @@ # ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ # Include rhts environment -. /usr/bin/rhts-environment.sh . /usr/share/beakerlib/beakerlib.sh PACKAGE=libsepol diff --git a/libsepol/sepol_check_context/main.fmf b/libsepol/sepol_check_context/main.fmf index 3410cea..6f9e318 100644 --- a/libsepol/sepol_check_context/main.fmf +++ b/libsepol/sepol_check_context/main.fmf @@ -1,2 +1,28 @@ -path: /libsepol/sepol_check_context -tier: 1 +summary: Does sepol_check_context() work as expected? +description: |+ + Does sepol_check_context() work as expected? + +contact: Milos Malik +component: +- libsepol +recommend: +- libsepol +- libsepol-devel +- gcc +- policycoreutils +- selinux-policy-devel +enabled: true +tag: +- CI-Tier-1 +- NoRHEL4 +- NoRHEL5 +- f32friendly +- f33friendly +- targeted +adjust: +- enabled: false + when: distro == rhel-4, rhel-5 + continue: false +extra-nitrate: TC#0554157 +extra-summary: /CoreOS/libsepol/Sanity/sepol_check_context +extra-task: /CoreOS/libsepol/Sanity/sepol_check_context diff --git a/libsepol/sepol_check_context/runtest.sh b/libsepol/sepol_check_context/runtest.sh index 6742dd9..66519cd 100755 --- a/libsepol/sepol_check_context/runtest.sh +++ b/libsepol/sepol_check_context/runtest.sh @@ -27,7 +27,6 @@ # ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ # Include Beaker environment -. /usr/bin/rhts-environment.sh || exit 1 . /usr/share/beakerlib/beakerlib.sh || exit 1 PACKAGE="libsepol" diff --git a/plans/fedora.fmf b/plans/fedora.fmf index 9bda8f9..334f962 100644 --- a/plans/fedora.fmf +++ b/plans/fedora.fmf @@ -2,7 +2,7 @@ summary: Run all available tests discover: how: fmf - filter: component:checkpolicy + filter: component:libsepol #modified-only: True #modified-url: https://src.fedoraproject.org/tests/selinux/ #modified-ref: reference/master