mirror of
https://github.com/opnsense/src.git
synced 2026-06-08 16:22:46 -04:00
Skip the testcases if mac_bsdextended(4) isn't detected on the
system MFC after: 2 weeks Sponsored by: EMC / Isilon Storage Division
This commit is contained in:
parent
f33a82e070
commit
8304a7b913
1 changed files with 4 additions and 0 deletions
|
|
@ -19,6 +19,10 @@ if [ $(id -u) -ne 0 ]; then
|
|||
echo "1..0 # SKIP test must be run as root"
|
||||
exit 0
|
||||
fi
|
||||
if ! sysctl -N security.mac.bsdextended >/dev/null 2>&1; then
|
||||
echo "1..0 # SKIP mac_bsdextended(4) support isn't available"
|
||||
exit 0
|
||||
fi
|
||||
if ! playground=$(mktemp -d $TMPDIR/tmp.XXXXXXX); then
|
||||
echo "1..0 # SKIP failed to create temporary directory"
|
||||
exit 0
|
||||
|
|
|
|||
Loading…
Reference in a new issue