Blame tests/p_selinux/selinux_enforce.sh

Athmane Madjoudj 2706f5
#!/bin/bash
Athmane Madjoudj 2706f5
# Author: Athmane Madjoudj <athmanem@gmail.com>
Athmane Madjoudj 2706f5
Athmane Madjoudj 2706f5
t_Log "Running $0 - check if SELinux is in enforcing mode"
Athmane Madjoudj 2706f5
Athmane Madjoudj 2706f5
cat /selinux/enforce | grep 1  > /dev/null 2>&1
Athmane Madjoudj 2706f5
Athmane Madjoudj 2706f5
t_CheckExitStatus $?
Athmane Madjoudj 2706f5