Source-Changes-HG archive

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

[src/trunk]: src/tests/lib/libc/sys Remove the duplicate ATF_TP_ADD_TC() entries



details:   https://anonhg.NetBSD.org/src/rev/8700fa7677c9
branches:  trunk
changeset: 971800:8700fa7677c9
user:      kamil <kamil%NetBSD.org@localhost>
date:      Tue May 05 00:03:49 2020 +0000

description:
Remove the duplicate ATF_TP_ADD_TC() entries

Event mask tests are already defined in
ATF_TP_ADD_TCS_PTRACE_WAIT_EVENTMASK().

diffstat:

 tests/lib/libc/sys/t_ptrace_wait.c |  12 ++----------
 1 files changed, 2 insertions(+), 10 deletions(-)

diffs (33 lines):

diff -r 2c931842ba72 -r 8700fa7677c9 tests/lib/libc/sys/t_ptrace_wait.c
--- a/tests/lib/libc/sys/t_ptrace_wait.c        Tue May 05 00:01:14 2020 +0000
+++ b/tests/lib/libc/sys/t_ptrace_wait.c        Tue May 05 00:03:49 2020 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: t_ptrace_wait.c,v 1.183 2020/05/05 00:01:14 kamil Exp $        */
+/*     $NetBSD: t_ptrace_wait.c,v 1.184 2020/05/05 00:03:49 kamil Exp $        */
 
 /*-
  * Copyright (c) 2016, 2017, 2018, 2019, 2020 The NetBSD Foundation, Inc.
@@ -27,7 +27,7 @@
  */
 
 #include <sys/cdefs.h>
-__RCSID("$NetBSD: t_ptrace_wait.c,v 1.183 2020/05/05 00:01:14 kamil Exp $");
+__RCSID("$NetBSD: t_ptrace_wait.c,v 1.184 2020/05/05 00:03:49 kamil Exp $");
 
 #define __LEGACY_PT_LWPINFO
 
@@ -3172,14 +3172,6 @@
        ATF_TP_ADD_TC_HAVE_PID(tp,
                tracee_sees_its_original_parent_procfs_status);
 
-       ATF_TP_ADD_TC(tp, eventmask_preserved_empty);
-       ATF_TP_ADD_TC(tp, eventmask_preserved_fork);
-       ATF_TP_ADD_TC(tp, eventmask_preserved_vfork);
-       ATF_TP_ADD_TC(tp, eventmask_preserved_vfork_done);
-       ATF_TP_ADD_TC(tp, eventmask_preserved_lwp_create);
-       ATF_TP_ADD_TC(tp, eventmask_preserved_lwp_exit);
-       ATF_TP_ADD_TC(tp, eventmask_preserved_posix_spawn);
-
        ATF_TP_ADD_TC(tp, traceme_lwpinfo0);
        ATF_TP_ADD_TC(tp, traceme_lwpinfo1);
        ATF_TP_ADD_TC(tp, traceme_lwpinfo2);



Home | Main Index | Thread Index | Old Index