Module Name:    src
Committed By:   pooka
Date:           Tue Nov 30 22:15:02 UTC 2010

Modified Files:
        src/tests/dev/md: t_md.sh

Log Message:
cleanup server after use
(XXX: need better way to reboot it)


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/tests/dev/md/t_md.sh

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/tests/dev/md/t_md.sh
diff -u src/tests/dev/md/t_md.sh:1.2 src/tests/dev/md/t_md.sh:1.3
--- src/tests/dev/md/t_md.sh:1.2	Tue Nov 30 14:29:05 2010
+++ src/tests/dev/md/t_md.sh	Tue Nov 30 22:15:02 2010
@@ -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 @@
 	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()
 {
 

Reply via email to