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

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

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

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