Module Name: src
Committed By: jruoho
Date: Wed Apr 11 16:21:43 UTC 2012
Modified Files:
src/tests/lib/libc/stdio: t_printf.c
Log Message:
Reduce the number of snprintf(3) invocations, as sparc/qemu timeouts.
To generate a diff of this commit:
cvs rdiff -u -r1.7 -r1.8 src/tests/lib/libc/stdio/t_printf.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/stdio/t_printf.c
diff -u src/tests/lib/libc/stdio/t_printf.c:1.7 src/tests/lib/libc/stdio/t_printf.c:1.8
--- src/tests/lib/libc/stdio/t_printf.c:1.7 Sun Mar 18 08:13:57 2012
+++ src/tests/lib/libc/stdio/t_printf.c Wed Apr 11 16:21:42 2012
@@ -1,4 +1,4 @@
-/* $NetBSD: t_printf.c,v 1.7 2012/03/18 08:13:57 jruoho Exp $ */
+/* $NetBSD: t_printf.c,v 1.8 2012/04/11 16:21:42 jruoho Exp $ */
/*-
* Copyright (c) 2010 The NetBSD Foundation, Inc.
@@ -147,7 +147,7 @@ ATF_TC_BODY(snprintf_float, tc)
time(&now);
srand(now);
- for (size_t i = 0; i < 1000000; i++) {
+ for (size_t i = 0; i < 10000; i++) {
ul = rand();
uh = rand();
u.bits = (uint64_t)uh << 32 | ul;