public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Milos Malik <mmalik@redhat.com>
To: git-commits@fedoraproject.org
Subject: [tests/selinux] pr775-checkpolicy-revdeps: fix problematic tests
Date: Fri, 11 Sep 2026 13:21:49 GMT [thread overview]
Message-ID: <178913290922.1.16860053061339450694.tests-selinux-ad41a9d3c20f@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : tests/selinux
Branch : pr775-checkpolicy-revdeps
Commit : ad41a9d3c20f432a80299b3684a2bc08eff0bb49
Author : Milos Malik <mmalik@redhat.com>
Date : 2024-07-23T11:34:23+02:00
Stats : +2/-2 in 2 file(s)
URL : https://src.fedoraproject.org/tests/selinux/c/ad41a9d3c20f432a80299b3684a2bc08eff0bb49?branch=pr775-checkpolicy-revdeps
Log:
fix problematic tests
Avoid problems caused by test failures or tests getting stuck.
---
diff --git a/selinux-policy/anon_inode-and-similar/main.fmf b/selinux-policy/anon_inode-and-similar/main.fmf
index a94c107..41ffda8 100644
--- a/selinux-policy/anon_inode-and-similar/main.fmf
+++ b/selinux-policy/anon_inode-and-similar/main.fmf
@@ -44,7 +44,7 @@ adjust:
when: distro == rhel-4, rhel-5, rhel-6, rhel-7, rhel-8, centos-stream-8
because: the anon_inode class is not defined there
- enabled: false
- when: distro == s390, s390x
+ when: arch == s390, s390x
because: the automated test gets stuck there
extra-nitrate: TC#0612643
extra-summary: /CoreOS/selinux-policy/Regression/anon_inode-and-similar
diff --git a/selinux-policy/sudo-and-dnf/runtest.sh b/selinux-policy/sudo-and-dnf/runtest.sh
index cc9cafd..4bcb027 100755
--- a/selinux-policy/sudo-and-dnf/runtest.sh
+++ b/selinux-policy/sudo-and-dnf/runtest.sh
@@ -37,7 +37,7 @@ rlJournalStart
rlSESatisfyRequires
rlAssertRpm ${PACKAGE}
rlAssertRpm ${PACKAGE}-targeted
- rlAssertRpm dnf
+ rlRun "rpm -q --whatprovides dnf"
rlAssertRpm sudo
rlSESetEnforce
reply other threads:[~2026-09-11 13:21 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=178913290922.1.16860053061339450694.tests-selinux-ad41a9d3c20f@fedoraproject.org \
--to=mmalik@redhat.com \
--cc=git-commits@fedoraproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox