mirror of
https://github.com/opnsense/src.git
synced 2026-02-12 23:36:07 -05:00
after similar calls related to struct pwd in libutil/pw_util.c:
- gr_equal()
Perform a deep comparison of two struct grp's. It does a thorough, yet
unoptimized comparison of all the members regardless of order.
- gr_make()
Create a string (see group(5)) from a struct grp.
- gr_dup()
Duplicate a struct grp. Returns a value that is a single contiguous
block of memory.
- gr_scan()
Create a struct grp from a string (as produced by gr_make()).
MFC after: 3 weeks
12 lines
140 B
Bash
12 lines
140 B
Bash
#!/bin/sh
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
base=$(realpath $(dirname $0))
|
|
name=$(basename $0 .t)
|
|
|
|
set -e
|
|
cd $base
|
|
make -s $name >/dev/null
|
|
exec $base/$name
|