MFC r291982:

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

Sponsored by: EMC / Isilon Storage Division
This commit is contained in:
ngie 2015-12-15 05:47:05 +00:00
parent 4d74a8776e
commit 8ba2992822

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