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 Give the child more time to timeout, etc.



details:   https://anonhg.NetBSD.org/src/rev/8cc542ff3ebb
branches:  trunk
changeset: 771974:8cc542ff3ebb
user:      skrll <skrll%NetBSD.org@localhost>
date:      Mon Dec 12 10:56:46 2011 +0000

description:
Give the child more time to timeout, etc.

diffstat:

 tests/lib/libc/sys/t_select.c |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r c13c449ae51c -r 8cc542ff3ebb tests/lib/libc/sys/t_select.c
--- a/tests/lib/libc/sys/t_select.c     Mon Dec 12 07:40:56 2011 +0000
+++ b/tests/lib/libc/sys/t_select.c     Mon Dec 12 10:56:46 2011 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: t_select.c,v 1.1 2011/07/07 06:57:54 jruoho Exp $ */
+/*     $NetBSD: t_select.c,v 1.2 2011/12/12 10:56:46 skrll Exp $ */
 
 /*-
  * Copyright (c) 2011 The NetBSD Foundation, Inc.
@@ -192,7 +192,7 @@
        case -1:
                err(1, "fork");
        default:
-               usleep(5000);
+               sleep(1);
                switch (waitpid(pid, &status, WNOHANG)) {
                case -1:
                        err(1, "wait");



Home | Main Index | Thread Index | Old Index