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 Sprinkle a few more \n's and the end of s...



details:   https://anonhg.NetBSD.org/src/rev/f6d80b5ed4c9
branches:  trunk
changeset: 981650:f6d80b5ed4c9
user:      simonb <simonb%NetBSD.org@localhost>
date:      Fri Mar 19 00:44:09 2021 +0000

description:
Sprinkle a few more \n's and the end of some debug printfs.

diffstat:

 tests/lib/libc/sys/t_ptrace_signal_wait.h |  10 +++++-----
 1 files changed, 5 insertions(+), 5 deletions(-)

diffs (45 lines):

diff -r 9b7e3ae9f4a5 -r f6d80b5ed4c9 tests/lib/libc/sys/t_ptrace_signal_wait.h
--- a/tests/lib/libc/sys/t_ptrace_signal_wait.h Fri Mar 19 00:39:17 2021 +0000
+++ b/tests/lib/libc/sys/t_ptrace_signal_wait.h Fri Mar 19 00:44:09 2021 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: t_ptrace_signal_wait.h,v 1.4 2020/06/22 12:21:02 rin Exp $     */
+/*     $NetBSD: t_ptrace_signal_wait.h,v 1.5 2021/03/19 00:44:09 simonb Exp $  */
 
 /*-
  * Copyright (c) 2016, 2017, 2018, 2019, 2020 The NetBSD Foundation, Inc.
@@ -90,7 +90,7 @@
                ATF_REQUIRE_EQ(info.psi_siginfo.si_signo, sigval);
                ATF_REQUIRE_EQ(info.psi_siginfo.si_code, SI_LWP);
 
-               DPRINTF("Assert that PT_GET_PROCESS_STATE returns non-error");
+               DPRINTF("Assert that PT_GET_PROCESS_STATE returns non-error\n");
                SYSCALL_REQUIRE(
                    ptrace(PT_GET_PROCESS_STATE, child, &state, slen) != -1);
                ATF_REQUIRE(memcmp(&state, &zero_state, slen) == 0);
@@ -401,7 +401,7 @@
 
        validate_status_stopped(status, sig);
 
-       DPRINTF("Before calling ptrace(2) with PT_GET_SIGINFO for child");
+       DPRINTF("Before calling ptrace(2) with PT_GET_SIGINFO for child\n");
        SYSCALL_REQUIRE(
            ptrace(PT_GET_SIGINFO, child, &info, sizeof(info)) != -1);
 
@@ -567,7 +567,7 @@
 
        validate_status_stopped(status, sig);
 
-       DPRINTF("Before calling ptrace(2) with PT_GET_SIGINFO for child");
+       DPRINTF("Before calling ptrace(2) with PT_GET_SIGINFO for child\n");
        SYSCALL_REQUIRE(
            ptrace(PT_GET_SIGINFO, child, &info, sizeof(info)) != -1);
 
@@ -750,7 +750,7 @@
 
        validate_status_stopped(status, sig);
 
-       DPRINTF("Before calling ptrace(2) with PT_GET_SIGINFO for child");
+       DPRINTF("Before calling ptrace(2) with PT_GET_SIGINFO for child\n");
        SYSCALL_REQUIRE(
            ptrace(PT_GET_SIGINFO, child, &info, sizeof(info)) != -1);
 



Home | Main Index | Thread Index | Old Index