Deleted Added
full compact
misc.sh (292570) misc.sh (293251)
1#!/bin/sh
1#!/bin/sh
2# $FreeBSD: head/tests/sys/mac/portacl/misc.sh 292570 2015-12-21 21:24:03Z ngie $
2# $FreeBSD: stable/10/tests/sys/mac/portacl/misc.sh 292570 2015-12-21 21:24:03Z ngie $
3
4sysctl security.mac.portacl >/dev/null 2>&1
5if [ $? -ne 0 ]; then
6 echo "1..0 # SKIP MAC_PORTACL is unavailable."
7 exit 0
8fi
9if [ $(id -u) -ne 0 ]; then
10 echo "1..0 # SKIP testcases must be run as root"

--- 96 unchanged lines hidden ---
3
4sysctl security.mac.portacl >/dev/null 2>&1
5if [ $? -ne 0 ]; then
6 echo "1..0 # SKIP MAC_PORTACL is unavailable."
7 exit 0
8fi
9if [ $(id -u) -ne 0 ]; then
10 echo "1..0 # SKIP testcases must be run as root"

--- 96 unchanged lines hidden ---