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:
Enji Cooper 2015-12-08 05:17:22 +00:00
parent 8abd0f3f26
commit eff763d5bc
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=291982

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