summaryrefslogtreecommitdiffstats
path: root/tests/sys/geom/class/shsec/conf.sh
blob: 7800eb7764ab8340249834ec282e1c6b1e4e0678 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/bin/sh
# $FreeBSD$

name="$(mktemp -u shsec.XXXXXX)"
class="shsec"
base=`basename $0`

shsec_test_cleanup()
{
	[ -c /dev/$class/$name ] && gshsec stop $name
	geom_test_cleanup
}
trap shsec_test_cleanup ABRT EXIT INT TERM

. `dirname $0`/../geom_subr.sh
OpenPOWER on IntegriCloud