xref: /freebsd/tests/sys/geom/class/shsec/conf.sh (revision d0b2dbfa0ecf2bbc9709efc5e20baf8e4b44bbbf)
1#!/bin/sh
2
3name="$(mktemp -u shsec.XXXXXX)"
4class="shsec"
5base=`basename $0`
6
7shsec_test_cleanup()
8{
9	[ -c /dev/$class/$name ] && gshsec stop $name
10	geom_test_cleanup
11}
12trap shsec_test_cleanup ABRT EXIT INT TERM
13
14. `dirname $0`/../geom_subr.sh
15