bstinson / centos / t_functional

Forked from centos/t_functional 3 years ago
Clone

Blame tests/p_selinux/selinux_policy_mismatch.py

ef1acc
#!/usr/bin/env python
ef1acc
import sys
ef1acc
import selinux.audit2why as audit2why
ef1acc
ef1acc
print "Testing audit2why for policy mismatch ..."
ef1acc
ef1acc
try:
ef1acc
  audit2why.init()
ef1acc
except:
ef1acc
  sys.exit(1)
ef1acc
  
ef1acc
sys.exit(0)
ef1acc