public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [tests/selinux] pr775-checkpolicy-revdeps: Make a few small changes and add comments to the Install phase
@ 2026-09-11 13:21 Zdenek Pytela
  0 siblings, 0 replies; only message in thread
From: Zdenek Pytela @ 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 : 97bec02b0ab674b55d209b91bc854355a4ae3595
Author : Zdenek Pytela <zpytela@redhat.com>
Date   : 2024-01-19T14:29:52+00:00
Stats  : +10/-1 in 1 file(s)
URL    : https://src.fedoraproject.org/tests/selinux/c/97bec02b0ab674b55d209b91bc854355a4ae3595?branch=pr775-checkpolicy-revdeps

Log:
Make a few small changes and add comments to the Install phase

---
diff --git a/selinux-policy/install-uninstall-dsp-packages/runtest.sh b/selinux-policy/install-uninstall-dsp-packages/runtest.sh
index 734bd02..0ebf0d9 100755
--- a/selinux-policy/install-uninstall-dsp-packages/runtest.sh
+++ b/selinux-policy/install-uninstall-dsp-packages/runtest.sh
@@ -89,11 +89,20 @@ rlJournalStart
     rlPhaseEnd
 
     rlPhaseStartTest "Install test for dsp packages"
-        rlRun "dnf list *selinux* --enablerepo=\"*\" > install-list"
+        rlRun "dnf list \"*-selinux*\" --enablerepo=\"*\" --disablerepo=\"beaker-tasks\" --disablerepo=\"*-source\" --disablerepo=\"*-debuginfo\" > install-list"
+	# limit the list to not installed packages
         rlRun "sed -i '1,/Available Packages/d' install-list"
+	# exclude packages from the beaker-tasks repo
         rlRun "sed -i '/beaker-tasks/d' install-list"
+	# exclude debuginfo packages
+        rlRun "sed -i '/-debuginfo/d' install-list"
+	# tmp: omit failing vfrnav
+        rlRun "sed -i '/vfrnav-selinux/d' install-list"
+	# packages names only
         rlRun "awk '{print \$1}' install-list > pkgonlylist"
+	# exclude updates-source
         rlRun "grep -vE '(.src)' pkgonlylist | sort -u > install-pkgs"
+	# use the same list for checks of the subsequent uninstallation
         rlRun "cp -f install-pkgs uninstall-pkgs"
         rlRun "install_report"
         # Following loop will read each package from file install-pkgs

^ 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: Make a few small changes and add comments to the Install phase Zdenek Pytela

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox