aboutsummaryrefslogtreecommitdiff
path: root/tests/sys/geom/class/eli/detach_test.sh
diff options
context:
space:
mode:
Diffstat (limited to 'tests/sys/geom/class/eli/detach_test.sh')
-rw-r--r--tests/sys/geom/class/eli/detach_test.sh5
1 files changed, 3 insertions, 2 deletions
diff --git a/tests/sys/geom/class/eli/detach_test.sh b/tests/sys/geom/class/eli/detach_test.sh
index 1a3bd3887e8d..0901f327dc8f 100644
--- a/tests/sys/geom/class/eli/detach_test.sh
+++ b/tests/sys/geom/class/eli/detach_test.sh
@@ -1,5 +1,7 @@
# $FreeBSD$
+. $(atf_get_srcdir)/conf.sh
+
atf_test_case detach_l cleanup
detach_l_head()
{
@@ -8,7 +10,7 @@ detach_l_head()
}
detach_l_body()
{
- . $(atf_get_srcdir)/conf.sh
+ geli_test_setup
sectors=100
md=$(attach_md -t malloc -s `expr $sectors + 1`)
@@ -36,7 +38,6 @@ detach_l_body()
}
detach_l_cleanup()
{
- . $(atf_get_srcdir)/conf.sh
geli_test_cleanup
}