Module Name:    src
Committed By:   skrll
Date:           Mon Dec 12 10:56:47 UTC 2011

Modified Files:
        src/tests/lib/libc/sys: t_select.c

Log Message:
Give the child more time to timeout, etc.


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/tests/lib/libc/sys/t_select.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/lib/libc/sys/t_select.c
diff -u src/tests/lib/libc/sys/t_select.c:1.1 src/tests/lib/libc/sys/t_select.c:1.2
--- src/tests/lib/libc/sys/t_select.c:1.1	Thu Jul  7 06:57:54 2011
+++ src/tests/lib/libc/sys/t_select.c	Mon Dec 12 10:56:46 2011
@@ -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 @@ ATF_TC_BODY(pselect_timeout, tc)
 	case -1:
 		err(1, "fork");
 	default:
-		usleep(5000);
+		sleep(1);
 		switch (waitpid(pid, &status, WNOHANG)) {
 		case -1:
 			err(1, "wait");

Reply via email to