summaryrefslogtreecommitdiffstats
path: root/sbin/geom/class/tests/eli/attach_d_test.sh
diff options
context:
space:
mode:
Diffstat (limited to 'sbin/geom/class/tests/eli/attach_d_test.sh')
-rwxr-xr-xsbin/geom/class/tests/eli/attach_d_test.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/sbin/geom/class/tests/eli/attach_d_test.sh b/sbin/geom/class/tests/eli/attach_d_test.sh
index d1a57ce..5d700b3 100755
--- a/sbin/geom/class/tests/eli/attach_d_test.sh
+++ b/sbin/geom/class/tests/eli/attach_d_test.sh
@@ -1,8 +1,9 @@
#!/bin/sh
# $FreeBSD$
+. $(dirname $0)/conf.sh
+
base=`basename $0`
-no=45
sectors=100
keyfile=`mktemp $base.XXXXXX` || exit 1
mdconfig -a -t malloc -s `expr $sectors + 1` -u $no || exit 1
@@ -34,5 +35,4 @@ else
echo "not ok 3"
fi
-mdconfig -d -u $no
rm -f $keyfile
OpenPOWER on IntegriCloud