Skip the MAC portacl tests if MAC_PORTACL support is missing instead of

marking them failed

MFC after: 1 week
Sponsored by: EMC / Isilon Storage Division
This commit is contained in:
ngie 2015-12-08 05:17:22 +00:00
parent 40d1d9a557
commit a4d2886627

View File

@ -3,8 +3,7 @@
sysctl security.mac.portacl >/dev/null 2>&1
if [ $? -ne 0 ]; then
echo "1..1"
echo "not ok 1 # MAC_PORTACL is unavailable."
echo "1..0 # SKIP MAC_PORTACL is unavailable."
exit 0
fi