1#!/bin/sh 2 3name="$(mktemp -u graid3.XXXXXX)" 4class="raid3" 5base=`basename $0` 6 7graid3_test_cleanup() 8{ 9 [ -c /dev/$class/$name ] && graid3 stop $name 10 geom_test_cleanup 11} 12trap graid3_test_cleanup ABRT EXIT INT TERM 13 14. `dirname $0`/../geom_subr.sh 15