Module Name: src
Committed By: jmmv
Date: Tue Mar 22 16:16:31 UTC 2011
Modified Files:
src/tests/dev/cgd: t_cgd.sh
Log Message:
Force cleanup parts to exit with a success status. Failures in cleanup
should not be allowed by atf-run (although they currently are ignored).
To generate a diff of this commit:
cvs rdiff -u -r1.7 -r1.8 src/tests/dev/cgd/t_cgd.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/cgd/t_cgd.sh
diff -u src/tests/dev/cgd/t_cgd.sh:1.7 src/tests/dev/cgd/t_cgd.sh:1.8
--- src/tests/dev/cgd/t_cgd.sh:1.7 Fri Feb 4 19:58:10 2011
+++ src/tests/dev/cgd/t_cgd.sh Tue Mar 22 16:16:30 2011
@@ -1,4 +1,4 @@
-# $NetBSD: t_cgd.sh,v 1.7 2011/02/04 19:58:10 pooka Exp $
+# $NetBSD: t_cgd.sh,v 1.8 2011/03/22 16:16:30 jmmv Exp $
#
# Copyright (c) 2010 The NetBSD Foundation, Inc.
# All rights reserved.
@@ -57,7 +57,7 @@
basic_cleanup()
{
- env RUMP_SERVER=unix://csock rump.halt
+ env RUMP_SERVER=unix://csock rump.halt || true
}
atf_test_case wrongpass cleanup
@@ -94,7 +94,7 @@
wrongpass_cleanup()
{
- env RUMP_SERVER=unix://csock rump.halt
+ env RUMP_SERVER=unix://csock rump.halt || true
}
@@ -122,7 +122,7 @@
non512_cleanup()
{
- env RUMP_SERVER=unix://csock rump.halt
+ env RUMP_SERVER=unix://csock rump.halt || true
}
atf_init_test_cases()