Check for mounted /proc.
This commit is contained in:
parent
e7ed6f13f6
commit
9695f56051
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: t_backtrace.c,v 1.14 2014/04/13 20:58:26 joerg Exp $ */
|
||||
/* $NetBSD: t_backtrace.c,v 1.15 2014/05/01 03:46:11 joerg Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 2012 The NetBSD Foundation, Inc.
|
||||
@ -29,7 +29,7 @@
|
||||
* POSSIBILITY OF SUCH DAMAGE.
|
||||
*/
|
||||
#include <sys/cdefs.h>
|
||||
__RCSID("$NetBSD: t_backtrace.c,v 1.14 2014/04/13 20:58:26 joerg Exp $");
|
||||
__RCSID("$NetBSD: t_backtrace.c,v 1.15 2014/05/01 03:46:11 joerg Exp $");
|
||||
|
||||
#include <atf-c.h>
|
||||
#include <atf-c/config.h>
|
||||
@ -147,7 +147,8 @@ myfunc(size_t ncalls)
|
||||
ATF_TC(backtrace_fmt_basic);
|
||||
ATF_TC_HEAD(backtrace_fmt_basic, tc)
|
||||
{
|
||||
atf_tc_set_md_var(tc, "descr", "Test backtrace_fmt(3)");
|
||||
atf_tc_set_md_var(tc, "descr", "Test backtrace_fmt(3)");
|
||||
atf_tc_set_md_var(tc, "require.files", "/proc/self");
|
||||
}
|
||||
|
||||
ATF_TC_BODY(backtrace_fmt_basic, tc)
|
||||
|
Loading…
Reference in New Issue
Block a user