public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [tests/selinux] pr775-checkpolicy-revdeps: show the size and label of /etc/tuned/ppd_base_profile
@ 2026-09-11 13:22 Milos Malik
0 siblings, 0 replies; only message in thread
From: Milos Malik @ 2026-09-11 13:22 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : tests/selinux
Branch : pr775-checkpolicy-revdeps
Commit : 4d517e7d9b6179dc79912cedb369b80e2a995759
Author : Milos Malik <mmalik@redhat.com>
Date : 2025-06-13T06:55:17+00:00
Stats : +2/-2 in 1 file(s)
URL : https://src.fedoraproject.org/tests/selinux/c/4d517e7d9b6179dc79912cedb369b80e2a995759?branch=pr775-checkpolicy-revdeps
Log:
show the size and label of /etc/tuned/ppd_base_profile
Instead of comparing the SELinux label of that file against a fixed
value, show the label and the file size.
---
diff --git a/selinux-policy/tuned-ppd-and-similar/runtest.sh b/selinux-policy/tuned-ppd-and-similar/runtest.sh
index 85cdb7b..0bc5804 100755
--- a/selinux-policy/tuned-ppd-and-similar/runtest.sh
+++ b/selinux-policy/tuned-ppd-and-similar/runtest.sh
@@ -121,9 +121,9 @@ rlJournalStart
rlRun "tuned-adm profile powersave"
fi
sleep 2
- rlRun "ls -Z /etc/tuned/ppd_base_profile"
+ rlRun "ls -lZ /etc/tuned/ppd_base_profile"
rlRun "tuned-adm auto_profile"
- rlRun "ls -Z /etc/tuned/ppd_base_profile | grep :tuned_rw_etc_t"
+ rlRun "ls -lZ /etc/tuned/ppd_base_profile"
rlRun "tuned-adm verify"
rlSEService - ${SERVICE_NAME} ${PROCESS_NAME} ${PROCESS_CONTEXT} "stop status" 1
if [ -f /usr/lib/systemd/system/gdm.service ] ; then
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-09-11 13:22 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:22 [tests/selinux] pr775-checkpolicy-revdeps: show the size and label of /etc/tuned/ppd_base_profile Milos Malik
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox