Module Name:    src
Committed By:   kamil
Date:           Tue Mar 13 14:45:36 UTC 2018

Modified Files:
        src/tests/lib/libc/sys: msg.h

Log Message:
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>


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/tests/lib/libc/sys/msg.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/tests/lib/libc/sys/msg.h
diff -u src/tests/lib/libc/sys/msg.h:1.1 src/tests/lib/libc/sys/msg.h:1.2
--- src/tests/lib/libc/sys/msg.h:1.1	Sun Apr  2 21:44:00 2017
+++ src/tests/lib/libc/sys/msg.h	Tue Mar 13 14:45:36 2018
@@ -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 @@ msg_write_child(const char *info, struct
 	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 @@ msg_write_parent(const char *info, struc
 	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 @@ msg_read_parent(const char *info, struct
 	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 @@ msg_read_child(const char *info, struct 
 	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;

Reply via email to