public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [tests/selinux] pr775-checkpolicy-revdeps: fix a syntax error
@ 2026-09-11 13:23 Milos Malik
0 siblings, 0 replies; only message in thread
From: Milos Malik @ 2026-09-11 13:23 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : tests/selinux
Branch : pr775-checkpolicy-revdeps
Commit : 36d28b09f5d50849e0488079e1f0bbd85e729261
Author : Milos Malik <mmalik@redhat.com>
Date : 2025-10-02T13:58:11+02:00
Stats : +1/-1 in 1 file(s)
URL : https://src.fedoraproject.org/tests/selinux/c/36d28b09f5d50849e0488079e1f0bbd85e729261?branch=pr775-checkpolicy-revdeps
Log:
fix a syntax error
A syntax error appears when the following test is executed:
* policycoreutils/semodule-rebuild-if-modules-changed
The problem is a missing "then" word in the test code.
---
diff --git a/policycoreutils/semodule-rebuild-if-modules-changed/runtest.sh b/policycoreutils/semodule-rebuild-if-modules-changed/runtest.sh
index 2e658ed..8291323 100755
--- a/policycoreutils/semodule-rebuild-if-modules-changed/runtest.sh
+++ b/policycoreutils/semodule-rebuild-if-modules-changed/runtest.sh
@@ -7,7 +7,7 @@
# Include Beakerlib environment
. /usr/share/beakerlib/beakerlib.sh || exit 1
-if grep -q ^store-root /etc/selinux/semanage.conf
+if grep -q ^store-root /etc/selinux/semanage.conf ; then
STORE_ROOT=`grep ^store-root /etc/selinux/semanage.conf | cut -d = -f 2`
else
STORE_ROOT=/var/lib/selinux
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-09-11 13:23 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:23 [tests/selinux] pr775-checkpolicy-revdeps: fix a syntax error Milos Malik
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox