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 ATF t_ptrace_wait*: Disable debug message...



details:   https://anonhg.NetBSD.org/src/rev/538f5ef53496
branches:  trunk
changeset: 360477:538f5ef53496
user:      kamil <kamil%NetBSD.org@localhost>
date:      Tue Mar 13 14:45:36 2018 +0000

description:
ATF t_ptrace_wait*: Disable debug messages in msg.h

msg.h is a dummy IPC interface.

Disable additional debugging logging here, especially wanted in race*
tests.

Sponsored by <The NetBSD Foundation>

diffstat:

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

diffs (45 lines):

diff -r 6060ceea3b5e -r 538f5ef53496 tests/lib/libc/sys/msg.h
--- a/tests/lib/libc/sys/msg.h  Tue Mar 13 13:34:40 2018 +0000
+++ b/tests/lib/libc/sys/msg.h  Tue Mar 13 14:45:36 2018 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: msg.h,v 1.1 2017/04/02 21:44:00 kamil Exp $    */
+/*     $NetBSD: msg.h,v 1.2 2018/03/13 14:45:36 kamil Exp $    */
 
 /*-
  * Copyright (c) 2016 The NetBSD Foundation, Inc.
@@ -70,7 +70,7 @@
        CLOSEFD(fds->cfd[1]);
        CLOSEFD(fds->pfd[0]);
 
-       printf("Send %s\n", info);
+//     printf("Send %s\n", info);
        rv = write(fds->pfd[1], msg, len);
        if (rv != (ssize_t)len)
                return 1;
@@ -88,7 +88,7 @@
        CLOSEFD(fds->pfd[1]);
        CLOSEFD(fds->cfd[0]);
 
-       printf("Send %s\n", info);
+//     printf("Send %s\n", info);
        rv = write(fds->cfd[1], msg, len);
        if (rv != (ssize_t)len)
                return 1;
@@ -106,7 +106,7 @@
        CLOSEFD(fds->pfd[1]);
        CLOSEFD(fds->cfd[0]);
 
-       printf("Wait %s\n", info);
+//     printf("Wait %s\n", info);
        rv = read(fds->pfd[0], msg, len);
        if (rv != (ssize_t)len)
                return 1;
@@ -124,7 +124,7 @@
        CLOSEFD(fds->cfd[1]);
        CLOSEFD(fds->pfd[0]);
 
-       printf("Wait %s\n", info);
+//     printf("Wait %s\n", info);
        rv = read(fds->cfd[0], msg, len);
        if (rv != (ssize_t)len)
                return 1;



Home | Main Index | Thread Index | Old Index