Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/tests/lib/libc/rpc Disable debugging.



details:   https://anonhg.NetBSD.org/src/rev/fa2b0da632c7
branches:  trunk
changeset: 341498:fa2b0da632c7
user:      christos <christos%NetBSD.org@localhost>
date:      Sun Nov 08 19:40:06 2015 +0000

description:
Disable debugging.

diffstat:

 tests/lib/libc/rpc/t_rpc.c |  14 ++++++--------
 1 files changed, 6 insertions(+), 8 deletions(-)

diffs (58 lines):

diff -r f06287cb6b23 -r fa2b0da632c7 tests/lib/libc/rpc/t_rpc.c
--- a/tests/lib/libc/rpc/t_rpc.c        Sun Nov 08 19:38:04 2015 +0000
+++ b/tests/lib/libc/rpc/t_rpc.c        Sun Nov 08 19:40:06 2015 +0000
@@ -1,7 +1,7 @@
-/*     $NetBSD: t_rpc.c,v 1.6 2015/11/08 19:38:04 christos Exp $       */
+/*     $NetBSD: t_rpc.c,v 1.7 2015/11/08 19:40:06 christos Exp $       */
 
 #include <sys/cdefs.h>
-__RCSID("$NetBSD: t_rpc.c,v 1.6 2015/11/08 19:38:04 christos Exp $");
+__RCSID("$NetBSD: t_rpc.c,v 1.7 2015/11/08 19:40:06 christos Exp $");
 
 #include <sys/types.h>
 #include <sys/socket.h>
@@ -14,8 +14,6 @@
 #include <errno.h>
 #include <unistd.h>
 
-#define DEBUG
-#define TEST
 #ifndef TEST
 #include <atf-c.h>
 
@@ -324,7 +322,7 @@
 
 ATF_TC_BODY(tcp, tc)
 {
-       regtest("localhost", "tcp", 1, 0);
+       regtest("localhost", "tcp", "1", 0);
 
 }
 
@@ -336,7 +334,7 @@
 
 ATF_TC_BODY(udp, tc)
 {
-       regtest("localhost", "udp", 1, 0);
+       regtest("localhost", "udp", "1", 0);
 
 }
 
@@ -348,7 +346,7 @@
 
 ATF_TC_BODY(tcp_poll, tc)
 {
-       regtest("localhost", "tcp", 1, 1);
+       regtest("localhost", "tcp", "1", 1);
 
 }
 
@@ -360,7 +358,7 @@
 
 ATF_TC_BODY(udp_poll, tc)
 {
-       regtest("localhost", "udp", 1, 1);
+       regtest("localhost", "udp", "1", 1);
 
 }
 



Home | Main Index | Thread Index | Old Index