#!/bin/sh # $FreeBSD: stable/11/tests/sys/geom/class/mirror/conf.sh 293073 2016-01-03 06:02:56Z ngie $ name="$(mktemp -u mirror.XXXXXX)" class="mirror" base=`basename $0` gmirror_test_cleanup() { [ -c /dev/$class/$name ] && gmirror destroy $name geom_test_cleanup } trap gmirror_test_cleanup ABRT EXIT INT TERM . `dirname $0`/../geom_subr.sh