Executable bits should be set at install time instead of in the repo. Setting executable bits on files triggers false positives with Phabricator. MFC after: 2 months
21 lines
364 B
Bash
21 lines
364 B
Bash
#!/bin/sh
|
|
# $FreeBSD$
|
|
|
|
class="uzip"
|
|
base=`basename $0`
|
|
|
|
uzip_test_cleanup()
|
|
{
|
|
if [ -n "$mntpoint" ]; then
|
|
umount $mntpoint
|
|
rmdir $mntpoint
|
|
fi
|
|
geom_test_cleanup
|
|
}
|
|
trap uzip_test_cleanup ABRT EXIT INT TERM
|
|
|
|
. `dirname $0`/../geom_subr.sh
|
|
|
|
# NOTE: make sure $TMPDIR has been set by geom_subr.sh if unset [by kyua, etc]
|
|
mntpoint=$(mktemp -d tmp.XXXXXX) || exit
|