Source-Changes-HG archive

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

[src/trunk]: src/tests/net/icmp .. put a timeout here just in case the receiv...



details:   https://anonhg.NetBSD.org/src/rev/f8847f564824
branches:  trunk
changeset: 757200:f8847f564824
user:      pooka <pooka%NetBSD.org@localhost>
date:      Wed Aug 18 21:23:48 2010 +0000

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

diffstat:

 tests/net/icmp/t_ping.c |  5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diffs (26 lines):

diff -r e6025a4d09df -r f8847f564824 tests/net/icmp/t_ping.c
--- a/tests/net/icmp/t_ping.c   Wed Aug 18 21:22:34 2010 +0000
+++ b/tests/net/icmp/t_ping.c   Wed Aug 18 21:23:48 2010 +0000
@@ -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)



Home | Main Index | Thread Index | Old Index