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
Karanbir Singh 23b6ba
if [ $SKIP_QA_HARNESS -eq 1 ]; then
Athmane Madjoudj 9d2331
    echo "Skipping this test ..."
Athmane Madjoudj 9d2331
else
Athmane Madjoudj 9d2331
    cat /selinux/enforce | grep 1  > /dev/null 2>&1
Athmane Madjoudj 9d2331
    t_CheckExitStatus $?
Athmane Madjoudj 9d2331
fi