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 t...



details:   https://anonhg.NetBSD.org/src/rev/fc6363b86705
branches:  trunk
changeset: 319083:fc6363b86705
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 dd1ce2561695 -r fc6363b86705 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