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 Improve the description of traceme_vfork_...



details:   https://anonhg.NetBSD.org/src/rev/31afed6926aa
branches:  trunk
changeset: 832522:31afed6926aa
user:      kamil <kamil%NetBSD.org@localhost>
date:      Wed May 16 01:36:29 2018 +0000

description:
Improve the description of traceme_vfork_raise in ATF ptrace(2) tests

Set new description to:
 - "Verify PT_TRACE_ME followed by raise of " #sig " in a vfork(2)ed "
   "child"

The previous one was copy pasted from a different ATF test and not changed.

Sponsored by <The NetBSD Foundation>

diffstat:

 tests/lib/libc/sys/t_ptrace_wait.c |  7 ++++---
 1 files changed, 4 insertions(+), 3 deletions(-)

diffs (28 lines):

diff -r 6c7e52236760 -r 31afed6926aa tests/lib/libc/sys/t_ptrace_wait.c
--- a/tests/lib/libc/sys/t_ptrace_wait.c        Wed May 16 01:27:27 2018 +0000
+++ b/tests/lib/libc/sys/t_ptrace_wait.c        Wed May 16 01:36:29 2018 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: t_ptrace_wait.c,v 1.41 2018/05/16 01:27:27 kamil Exp $ */
+/*     $NetBSD: t_ptrace_wait.c,v 1.42 2018/05/16 01:36:29 kamil Exp $ */
 
 /*-
  * Copyright (c) 2016 The NetBSD Foundation, Inc.
@@ -27,7 +27,7 @@
  */
 
 #include <sys/cdefs.h>
-__RCSID("$NetBSD: t_ptrace_wait.c,v 1.41 2018/05/16 01:27:27 kamil Exp $");
+__RCSID("$NetBSD: t_ptrace_wait.c,v 1.42 2018/05/16 01:36:29 kamil Exp $");
 
 #include <sys/param.h>
 #include <sys/types.h>
@@ -439,7 +439,8 @@
 ATF_TC_HEAD(test, tc)                                                          \
 {                                                                              \
        atf_tc_set_md_var(tc, "descr",                                          \
-           "Verify " #sig " followed by _exit(2) in a vfork(2)ed child");      \
+           "Verify PT_TRACE_ME followed by raise of " #sig " in a vfork(2)ed " \
+           "child");                                                           \
 }                                                                              \
                                                                                \
 ATF_TC_BODY(test, tc)                                                          \



Home | Main Index | Thread Index | Old Index