summaryrefslogtreecommitdiffstats
path: root/tools/regression/geom_eli/nokey.t
diff options
context:
space:
mode:
Diffstat (limited to 'tools/regression/geom_eli/nokey.t')
-rw-r--r--tools/regression/geom_eli/nokey.t6
1 files changed, 3 insertions, 3 deletions
diff --git a/tools/regression/geom_eli/nokey.t b/tools/regression/geom_eli/nokey.t
index 19ef680..f32e1a4 100644
--- a/tools/regression/geom_eli/nokey.t
+++ b/tools/regression/geom_eli/nokey.t
@@ -1,10 +1,11 @@
#!/bin/sh
# $FreeBSD$
+. $(dirname $0)/conf.sh
+
base=`basename $0`
-no=45
sectors=100
-keyfile=`mktemp /tmp/$base.XXXXXX` || exit 1
+keyfile=`mktemp $base.XXXXXX` || exit 1
mdconfig -a -t malloc -s `expr $sectors + 1` -u $no || exit 1
echo "1..8"
@@ -61,5 +62,4 @@ else
echo "not ok 8"
fi
-mdconfig -d -u $no
rm -f $keyfile
OpenPOWER on IntegriCloud