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