summaryrefslogtreecommitdiffstats
path: root/sbin/geom/class/tests/eli/resize_test.sh
diff options
context:
space:
mode:
Diffstat (limited to 'sbin/geom/class/tests/eli/resize_test.sh')
-rwxr-xr-xsbin/geom/class/tests/eli/resize_test.sh8
1 files changed, 3 insertions, 5 deletions
diff --git a/sbin/geom/class/tests/eli/resize_test.sh b/sbin/geom/class/tests/eli/resize_test.sh
index 86ee364..67d6291 100755
--- a/sbin/geom/class/tests/eli/resize_test.sh
+++ b/sbin/geom/class/tests/eli/resize_test.sh
@@ -1,7 +1,8 @@
-#! /bin/sh
-#
+#!/bin/sh
# $FreeBSD$
+. $(dirname $0)/conf.sh
+
echo 1..27
BLK=512
@@ -22,8 +23,6 @@ setsize() {
# Initialise
-kldload geom_eli >/dev/null 2>&1
-
setsize 10 40 || echo -n "not "
echo ok $i - "Sized ${md}a to 10m"
i=$((i + 1))
@@ -145,6 +144,5 @@ echo ok $i - "Attached ${md}p1.eli"
i=$((i + 1))
geli detach ${md}p1.eli
-mdconfig -du$unit
rm tmp.*
OpenPOWER on IntegriCloud