From 02ecd47167e317dbb94448c2a68e58464f1cc86c Mon Sep 17 00:00:00 2001 From: Athmane Madjoudj Date: Aug 27 2011 10:11:33 +0000 Subject: Fix SELinux alerts test --- diff --git a/tests/p_selinux/selinux_alerts.sh b/tests/p_selinux/selinux_alerts.sh index c3f90d4..0df9130 100755 --- a/tests/p_selinux/selinux_alerts.sh +++ b/tests/p_selinux/selinux_alerts.sh @@ -3,7 +3,7 @@ t_Log "Running $0 - check for SELinux alerts (AVC)" -grep "AVC" /var/log/audit/audit.log > /dev/null 2>&1 +grep -v "AVC" /var/log/audit/audit.log > /dev/null 2>&1 t_CheckExitStatus $?