Mark dummy2 and dummy3 in lib/libpthread_dbg/t_dummy with expected fail

The dummy2 test reports failures on i386 releng machines.

The same with dummy3, but it's also reproducible sometimes on my amd64
setup. It's not always broken, neither always functional - once a while it
reports failure. So far I have not reproduced failure in dummy2.

PR lib/51633 tests/lib/libpthread_dbg/t_dummy unreliable

Sponsored by <The NetBSD Foundation>
This commit is contained in:
kamil 2016-11-17 17:30:22 +00:00
parent c998f797d2
commit 452c3956fa
1 changed files with 8 additions and 4 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: t_dummy.c,v 1.3 2016/11/17 04:13:52 kamil Exp $ */
/* $NetBSD: t_dummy.c,v 1.4 2016/11/17 17:30:22 kamil Exp $ */
/*-
* Copyright (c) 2016 The NetBSD Foundation, Inc.
@ -28,7 +28,7 @@
#include <sys/cdefs.h>
__RCSID("$NetBSD: t_dummy.c,v 1.3 2016/11/17 04:13:52 kamil Exp $");
__RCSID("$NetBSD: t_dummy.c,v 1.4 2016/11/17 17:30:22 kamil Exp $");
#include <dlfcn.h>
#include <pthread.h>
@ -148,10 +148,12 @@ ATF_TC_HEAD(dummy2, tc)
ATF_TC_BODY(dummy2, tc)
{
struct td_proc_callbacks_t dummy_callbacks;
td_proc_t *main_ta;
/* tests/lib/libpthread_dbg/t_dummy unreliable */
atf_tc_expect_fail("PR lib/51633");
dummy_callbacks.proc_read = basic_proc_read;
dummy_callbacks.proc_write = basic_proc_write;
dummy_callbacks.proc_lookup = basic_proc_lookup;
@ -176,11 +178,13 @@ ATF_TC_HEAD(dummy3, tc)
ATF_TC_BODY(dummy3, tc)
{
struct td_proc_callbacks_t dummy_callbacks;
td_proc_t *main_ta1;
td_proc_t *main_ta2;
/* tests/lib/libpthread_dbg/t_dummy unreliable */
atf_tc_expect_fail("PR lib/51633");
dummy_callbacks.proc_read = basic_proc_read;
dummy_callbacks.proc_write = basic_proc_write;
dummy_callbacks.proc_lookup = basic_proc_lookup;