diff options
-rwxr-xr-x | sbin/geom/class/tests/uzip/conf.sh | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/sbin/geom/class/tests/uzip/conf.sh b/sbin/geom/class/tests/uzip/conf.sh new file mode 100755 index 0000000..a0204d6 --- /dev/null +++ b/sbin/geom/class/tests/uzip/conf.sh @@ -0,0 +1,16 @@ +#!/bin/sh +# $FreeBSD$ + +class="uzip" +base=`basename $0` +mntpoint=$(mktemp -d $TMPDIR/tmp.XXXXXX) || exit + +uzip_test_cleanup() +{ + umount $mntpoint + rmdir $mntpoint + geom_test_cleanup +} +trap uzip_test_cleanup ABRT EXIT INT TERM + +. `dirname $0`/../geom_subr.sh |