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