public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [tests/selinux] pr775-checkpolicy-revdeps: add missing metadata to the tests
@ 2026-09-11 13:21 Milos Malik
0 siblings, 0 replies; only message in thread
From: Milos Malik @ 2026-09-11 13:21 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : tests/selinux
Branch : pr775-checkpolicy-revdeps
Commit : 3e4943c5966f2bdfdfbbf203b9218c174de5f58c
Author : Milos Malik <mmalik@redhat.com>
Date : 2024-07-10T17:18:28+00:00
Stats : +8/-3 in 4 file(s)
URL : https://src.fedoraproject.org/tests/selinux/c/3e4943c5966f2bdfdfbbf203b9218c174de5f58c?branch=pr775-checkpolicy-revdeps
Log:
add missing metadata to the tests
Some tests were missing important TCMS metadata. Now, the problem
should be fixed.
---
diff --git a/libselinux/matchpathcon-in-chroot-env/main.fmf b/libselinux/matchpathcon-in-chroot-env/main.fmf
index edc58c1..d671bcf 100644
--- a/libselinux/matchpathcon-in-chroot-env/main.fmf
+++ b/libselinux/matchpathcon-in-chroot-env/main.fmf
@@ -24,4 +24,5 @@ link:
- verifies: https://issues.redhat.com/browse/RHEL-46558
extra-summary: /CoreOS/libselinux/Regression/matchpathcon-in-chroot-env
extra-task: /CoreOS/libselinux/Regression/matchpathcon-in-chroot-env
-
+extra-nitrate: TC#0617627
+id: 649c1bfa-1739-4d87-8799-f37fd30499f4
diff --git a/libselinux/setfiles-in-chroot-env/main.fmf b/libselinux/setfiles-in-chroot-env/main.fmf
index b5a9ced..9c3dae5 100644
--- a/libselinux/setfiles-in-chroot-env/main.fmf
+++ b/libselinux/setfiles-in-chroot-env/main.fmf
@@ -19,4 +19,4 @@ link:
- verifies: https://bugzilla.redhat.com/show_bug.cgi?id=2094683
extra-summary: /CoreOS/libselinux/Regression/setfiles-in-chroot-env
extra-task: /CoreOS/libselinux/Regression/setfiles-in-chroot-env
-
+extra-nitrate: TC#0613958
diff --git a/libselinux/setfiles-in-chroot-env/runtest.sh b/libselinux/setfiles-in-chroot-env/runtest.sh
index d9afeb2..0dfb100 100755
--- a/libselinux/setfiles-in-chroot-env/runtest.sh
+++ b/libselinux/setfiles-in-chroot-env/runtest.sh
@@ -30,6 +30,9 @@
PACKAGE="libselinux"
CHROOT_DIR=`mktemp -d`
+if rlIsFedora ; then
+ INSTALL_OPTION="--use-host-config"
+fi
rlJournalStart
rlPhaseStartSetup
@@ -38,7 +41,7 @@ rlJournalStart
rlPhaseEnd
rlPhaseStartTest "bz#2094683"
- rlRun "yum -y install filesystem policycoreutils selinux-policy-targeted --installroot=${CHROOT_DIR} --disablerepo 'epel*'"
+ rlRun "yum -y install filesystem policycoreutils selinux-policy-targeted --installroot=${CHROOT_DIR} ${INSTALL_OPTION}"
rlRun "cp ./test-script.sh ${CHROOT_DIR}/usr/bin/"
rlRun -s "chroot ${CHROOT_DIR} /usr/bin/test-script.sh"
rlRun "grep -i -e 'no such file or directory' -e 'not set context' $rlRun_LOG" 1
diff --git a/policycoreutils/sctp_test/main.fmf b/policycoreutils/sctp_test/main.fmf
index c82f8da..9b5ed69 100644
--- a/policycoreutils/sctp_test/main.fmf
+++ b/policycoreutils/sctp_test/main.fmf
@@ -14,3 +14,4 @@ link:
- relates: https://bugzilla.redhat.com/show_bug.cgi?id=1770238
extra-summary: /selinux/policycoreutils/sctp_test
extra-task: /selinux/policycoreutils/sctp_test
+extra-nitrate: TC#0614834
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-09-11 13:21 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-09-11 13:21 [tests/selinux] pr775-checkpolicy-revdeps: add missing metadata to the tests Milos Malik
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox