Index: tests/sys/netgraph/ng_macfilter_test.sh =================================================================== --- tests/sys/netgraph/ng_macfilter_test.sh +++ tests/sys/netgraph/ng_macfilter_test.sh @@ -96,7 +96,7 @@ TSTFAILS=0 TSTSUCCS=0 -_test_next () { TSTNR=$(($TSTNR + 1)); } +_test_next () { TSTNR=$((TSTNR + 1)); } _test_succ () { TSTSUCCS=$(($TSTSUCCS + 1)); } _test_fail () { TSTFAILS=$(($TSTFAILS + 1)); } @@ -229,7 +229,8 @@ created_hooks=$(gethooks) rc=0 -test_cnt +# Update this number when adding new tests +test_cnt 46 ################################################################################ @@ -425,6 +426,5 @@ ################################################################################ -test_cnt exit 0