Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/tests/lib/libpthread_dbg Mark dummy2 and dummy3 in lib/libpt...



details:   https://anonhg.NetBSD.org/src/rev/0132ea1f2a18
branches:  trunk
changeset: 348957:0132ea1f2a18
user:      kamil <kamil%NetBSD.org@localhost>
date:      Thu Nov 17 17:30:22 2016 +0000

description:
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>

diffstat:

 tests/lib/libpthread_dbg/t_dummy.c |  12 ++++++++----
 1 files changed, 8 insertions(+), 4 deletions(-)

diffs (47 lines):

diff -r c7db2e3434fd -r 0132ea1f2a18 tests/lib/libpthread_dbg/t_dummy.c
--- a/tests/lib/libpthread_dbg/t_dummy.c        Thu Nov 17 16:32:06 2016 +0000
+++ b/tests/lib/libpthread_dbg/t_dummy.c        Thu Nov 17 17:30:22 2016 +0000
@@ -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_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_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;



Home | Main Index | Thread Index | Old Index