public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [tests/selinux] pr775-checkpolicy-revdeps: fix problematic 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 : 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

^ 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: fix problematic 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