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.
This commit is contained in:
chs 2021-01-22 22:03:01 +00:00
parent c1305fa973
commit 6ab81237dc
1 changed files with 4 additions and 1 deletions

View File

@ -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();