Wrap ipfw test in SKIPTEST block.

This commit is contained in:
Roland Smith 2015-04-27 18:26:39 +02:00
parent ded7e95a14
commit a0b20fcfe3
1 changed files with 22 additions and 20 deletions

View File

@ -276,6 +276,7 @@
# Test : FIRE-4530
# Description : Check ipfw (FreeBSD)
Register --test-no FIRE-4530 --os FreeBSD --weight L --network NO --description "Check ipfw status"
if [ ${SKIPTEST} -eq 0 ]; then
if [ ! "${SYSCTLBINARY}" = "" ]; then
# For now, only check for IPv4.
FIND=`${SYSCTLBINARY} net.inet.ip.fw.enable | awk '{ print $2 }'`
@ -300,6 +301,7 @@
Display --indent 2 --text "- Checking ipfw" --result SKIPPED --color YELLOW
ReportException "${TEST_NO}:4" "No IPFW test available (sysctl missing)"
fi
fi
#
#################################################################################
#