Module Name:    src
Committed By:   pooka
Date:           Wed Aug 18 21:23:49 UTC 2010

Modified Files:
        src/tests/net/icmp: t_ping.c

Log Message:
.. put a timeout here just in case the receive does not increase
the counter.


To generate a diff of this commit:
cvs rdiff -u -r1.5 -r1.6 src/tests/net/icmp/t_ping.c

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

Modified files:

Index: src/tests/net/icmp/t_ping.c
diff -u src/tests/net/icmp/t_ping.c:1.5 src/tests/net/icmp/t_ping.c:1.6
--- src/tests/net/icmp/t_ping.c:1.5	Wed Aug 18 21:22:34 2010
+++ src/tests/net/icmp/t_ping.c	Wed Aug 18 21:23:48 2010
@@ -1,4 +1,4 @@
-/*	$NetBSD: t_ping.c,v 1.5 2010/08/18 21:22:34 pooka Exp $	*/
+/*	$NetBSD: t_ping.c,v 1.6 2010/08/18 21:23:48 pooka Exp $	*/
 
 /*-
  * Copyright (c) 2010 The NetBSD Foundation, Inc.
@@ -29,7 +29,7 @@
 
 #include <sys/cdefs.h>
 #ifndef lint
-__RCSID("$NetBSD: t_ping.c,v 1.5 2010/08/18 21:22:34 pooka Exp $");
+__RCSID("$NetBSD: t_ping.c,v 1.6 2010/08/18 21:23:48 pooka Exp $");
 #endif /* not lint */
 
 #include <sys/types.h>
@@ -306,6 +306,7 @@
 
 	atf_tc_set_md_var(tc, "descr", "send a \"ping of death\"");
 	atf_tc_set_md_var(tc, "use.fs", "true");
+	atf_tc_set_md_var(tc, "timeout", "2");
 }
 
 ATF_TC_BODY(ping_of_death, tc)

Reply via email to