public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [tests/selinux] pr775-checkpolicy-revdeps: linux-system-roles: Skip the reboot test
@ 2026-09-11 13:17 Petr Lautrbach
  0 siblings, 0 replies; only message in thread
From: Petr Lautrbach @ 2026-09-11 13:17 UTC (permalink / raw)
  To: git-commits

            A new commit has been pushed.

            Repo   : tests/selinux
            Branch : pr775-checkpolicy-revdeps
            Commit : ce5b8047e175c0cce1a975aaa60b4f7bc6c94cbf
            Author : Petr Lautrbach <plautrba@redhat.com>
            Date   : 2019-03-12T16:05:58+01:00
            Stats  : +7/-4 in 1 file(s)
            URL    : https://src.fedoraproject.org/tests/selinux/c/ce5b8047e175c0cce1a975aaa60b4f7bc6c94cbf?branch=pr775-checkpolicy-revdeps

            Log:
            linux-system-roles: Skip the reboot test

Given that tests are run on localhost, we can't reboot during the test. Lets
skip tests_all_transitions.yml.

---
diff --git a/policycoreutils/linux-system-roles.selinux-tests/runtest.sh b/policycoreutils/linux-system-roles.selinux-tests/runtest.sh
index 461a9d4..5332b8e 100755
--- a/policycoreutils/linux-system-roles.selinux-tests/runtest.sh
+++ b/policycoreutils/linux-system-roles.selinux-tests/runtest.sh
@@ -40,16 +40,19 @@ rlJournalStart
 
     rlPhaseStartTest
         rlRun "git clone https://github.com/linux-system-roles/selinux.git"
-	rlRun "cd selinux/tests"
+        rlRun "cd selinux/tests"
 
-	for ansible_test in tests_*.yml; do
+        for ansible_test in tests_*.yml; do
+            if [ $ansible_test = "tests_all_transitions.yml" ]; then
+                continue
+            fi
             rlRun "ansible-playbook -i localhost, -c local -v $ansible_test"
-	done
+        done
 
     rlPhaseEnd
 
     rlPhaseStartCleanup
-	rlRun "cd ../../"
+        rlRun "cd ../../"
         rlRun "rm -rf selinux"
     rlPhaseEnd
 rlJournalPrintText

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-09-11 13:17 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:17 [tests/selinux] pr775-checkpolicy-revdeps: linux-system-roles: Skip the reboot test Petr Lautrbach

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