From c797f002e6d5bccf3b359c7979daf5786564c288 Mon Sep 17 00:00:00 2001 From: Michael Nguyen Date: Thu, 28 Apr 2022 07:48:36 -0400 Subject: [PATCH] tests: check for avc denials around daemon-reload xref https://bugzilla.redhat.com/show_bug.cgi?id=1924869 --- tests/kola/systemd/systemd-daemon-reload-avc | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100755 tests/kola/systemd/systemd-daemon-reload-avc diff --git a/tests/kola/systemd/systemd-daemon-reload-avc b/tests/kola/systemd/systemd-daemon-reload-avc new file mode 100755 index 0000000000..1f24028953 --- /dev/null +++ b/tests/kola/systemd/systemd-daemon-reload-avc @@ -0,0 +1,10 @@ +#!/bin/bash +# kola: { "exclusive": true } +# Verify there are no AVC denials and check for avc denials after reloading the systemd manager configuration +# +# https://bugzilla.redhat.com/show_bug.cgi?id=1924869 +set -xeuo pipefail + +. $KOLA_EXT_DATA/commonlib.sh + +systemctl daemon-reload