Module Name: src Committed By: chs Date: Fri Jan 22 22:03:01 UTC 2021
Modified Files: src/tests/rump/rumpkern: t_vm.c Log Message: for the busypage test, replace atf_tc_expect_fail() with atf_tc_skip() because atf apparently has no way to expect a test program to crash. fixes PR 55945. To generate a diff of this commit: cvs rdiff -u -r1.5 -r1.6 src/tests/rump/rumpkern/t_vm.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/tests/rump/rumpkern/t_vm.c diff -u src/tests/rump/rumpkern/t_vm.c:1.5 src/tests/rump/rumpkern/t_vm.c:1.6 --- src/tests/rump/rumpkern/t_vm.c:1.5 Tue Dec 8 17:52:11 2020 +++ src/tests/rump/rumpkern/t_vm.c Fri Jan 22 22:03:01 2021 @@ -1,4 +1,4 @@ -/* $NetBSD: t_vm.c,v 1.5 2020/12/08 17:52:11 chs Exp $ */ +/* $NetBSD: t_vm.c,v 1.6 2021/01/22 22:03:01 chs Exp $ */ /*- * Copyright (c) 2010 The NetBSD Foundation, Inc. @@ -50,7 +50,10 @@ ATF_TC_HEAD(busypage, tc) ATF_TC_BODY(busypage, tc) { +#if 0 atf_tc_expect_fail("test bug: unbusies an uninitialized page"); +#endif + atf_tc_skip("this test is buggy and hits an assertion, but atf doesn't provide any way to expect that a test program crashes, this all we can do is skip"); rump_init(); rump_schedule();