diff options
| author | pooka <pooka@NetBSD.org> | 2010-11-30 22:15:02 +0000 |
|---|---|---|
| committer | pooka <pooka@NetBSD.org> | 2010-11-30 22:15:02 +0000 |
| commit | cece9ab74bbd122864e9d0fdeefdc570261faea5 (patch) | |
| tree | 6c44af6d1cfac994e29b392f3f5df7dc9583474a /tests/dev | |
| parent | 30ef7f96b5185a79d3aec4dcd9e08cb9f318a44a (diff) | |
cleanup server after use
(XXX: need better way to reboot it)
Diffstat (limited to 'tests/dev')
| -rw-r--r-- | tests/dev/md/t_md.sh | 13 |
1 files changed, 10 insertions, 3 deletions
diff --git a/tests/dev/md/t_md.sh b/tests/dev/md/t_md.sh index 57379124a19..57aa76bdfef 100644 --- a/tests/dev/md/t_md.sh +++ b/tests/dev/md/t_md.sh @@ -1,4 +1,4 @@ -# $NetBSD: t_md.sh,v 1.2 2010/11/30 14:29:05 pooka Exp $ +# $NetBSD: t_md.sh,v 1.3 2010/11/30 22:15:02 pooka Exp $ # # Copyright (c) 2010 The NetBSD Foundation, Inc. # All rights reserved. @@ -25,8 +25,8 @@ # POSSIBILITY OF SUCH DAMAGE. # -atf_test_case basic -basic() +atf_test_case basic cleanup +basic_head() { atf_set "descr" "Check that md can be created, read and written" @@ -47,6 +47,13 @@ basic_body() atf_check -s exit:0 -e ignore -o file:testfile dd if=/bin/ls count=10 } +basic_cleanup() +{ + + export RUMP_SERVER=unix://commsock + $(atf_get_srcdir)/../../rump/rumpkern/h_client/h_reboot +} + atf_init_test_cases() { |
