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 Remove atf_tx_expect_fail from lib/...



details:   https://anonhg.NetBSD.org/src/rev/eb070e682333
branches:  trunk
changeset: 348995:eb070e682333
user:      kamil <kamil%NetBSD.org@localhost>
date:      Sat Nov 19 15:13:46 2016 +0000

description:
Remove atf_tx_expect_fail from lib/libpthread_dbg/ tests

The following PR are now resolved and are reported to be properly fixed:
PR lib/51635 td_thr_iter in <pthread_dbg.h> seems broken
PR lib/51633 tests/lib/libpthread_dbg/t_dummy unreliable

Sponsored by <The NetBSD Foundation>

diffstat:

 tests/lib/libpthread_dbg/t_dummy.c   |  10 ++--------
 tests/lib/libpthread_dbg/t_threads.c |   7 ++-----
 2 files changed, 4 insertions(+), 13 deletions(-)

diffs (66 lines):

diff -r d6e00e1ad132 -r eb070e682333 tests/lib/libpthread_dbg/t_dummy.c
--- a/tests/lib/libpthread_dbg/t_dummy.c        Sat Nov 19 14:44:00 2016 +0000
+++ b/tests/lib/libpthread_dbg/t_dummy.c        Sat Nov 19 15:13:46 2016 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: t_dummy.c,v 1.5 2016/11/18 22:50:19 kamil Exp $        */
+/*     $NetBSD: t_dummy.c,v 1.6 2016/11/19 15:13:46 kamil Exp $        */
 
 /*-
  * Copyright (c) 2016 The NetBSD Foundation, Inc.
@@ -28,7 +28,7 @@
 
 
 #include <sys/cdefs.h>
-__RCSID("$NetBSD: t_dummy.c,v 1.5 2016/11/18 22:50:19 kamil Exp $");
+__RCSID("$NetBSD: t_dummy.c,v 1.6 2016/11/19 15:13:46 kamil Exp $");
 
 #include "h_common.h"
 #include <pthread_dbg.h>
@@ -74,9 +74,6 @@
        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;
@@ -105,9 +102,6 @@
        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;
diff -r d6e00e1ad132 -r eb070e682333 tests/lib/libpthread_dbg/t_threads.c
--- a/tests/lib/libpthread_dbg/t_threads.c      Sat Nov 19 14:44:00 2016 +0000
+++ b/tests/lib/libpthread_dbg/t_threads.c      Sat Nov 19 15:13:46 2016 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: t_threads.c,v 1.1 2016/11/18 22:50:19 kamil Exp $      */
+/*     $NetBSD: t_threads.c,v 1.2 2016/11/19 15:13:46 kamil Exp $      */
 
 /*-
  * Copyright (c) 2016 The NetBSD Foundation, Inc.
@@ -28,7 +28,7 @@
 
 
 #include <sys/cdefs.h>
-__RCSID("$NetBSD: t_threads.c,v 1.1 2016/11/18 22:50:19 kamil Exp $");
+__RCSID("$NetBSD: t_threads.c,v 1.2 2016/11/19 15:13:46 kamil Exp $");
 
 #include <dlfcn.h>
 #include <pthread.h>
@@ -74,9 +74,6 @@
        size_t i;
        pthread_t threads[max_threads];
 
-       /* td_thr_iter in <pthread_dbg.h> seems broken */
-       atf_tc_expect_fail("PR lib/51635");
-
        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