Deleted Added
full compact
misc.sh (256281) misc.sh (292251)
1#!/bin/sh
1#!/bin/sh
2# $FreeBSD: stable/10/tools/regression/mac/mac_portacl/misc.sh 189832 2009-03-14 21:54:19Z pjd $
2# $FreeBSD: stable/10/tools/regression/mac/mac_portacl/misc.sh 292251 2015-12-15 05:47:05Z ngie $
3
4sysctl security.mac.portacl >/dev/null 2>&1
5if [ $? -ne 0 ]; then
3
4sysctl security.mac.portacl >/dev/null 2>&1
5if [ $? -ne 0 ]; then
6 echo "1..1"
7 echo "not ok 1 # MAC_PORTACL is unavailable."
6 echo "1..0 # SKIP MAC_PORTACL is unavailable."
8 exit 0
9fi
10
11ntest=1
12
13check_bind() {
14 idtype=${1}
15 name=${2}

--- 82 unchanged lines hidden ---
7 exit 0
8fi
9
10ntest=1
11
12check_bind() {
13 idtype=${1}
14 name=${2}

--- 82 unchanged lines hidden ---