Source-Changes-HG archive

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

[src/netbsd-8]: src/tests/lib/libc/db Pull up following revision(s) (requeste...



details:   https://anonhg.NetBSD.org/src/rev/53337b500b04
branches:  netbsd-8
changeset: 434095:53337b500b04
user:      martin <martin%NetBSD.org@localhost>
date:      Mon Jul 10 13:01:13 2017 +0000

description:
Pull up following revision(s) (requested by jmcneill in ticket #115):
        tests/lib/libc/db/h_lfsr.c: revision 1.2
Reduce the number of iterations in the bsize_torture test from 65535
to 1000 to make the ATF test suite as a whole take less time.  Before
the change, this single test case could take more than two hours to
run on a qemu emulated ARM.

diffstat:

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

diffs (21 lines):

diff -r 04c8c6a60674 -r 53337b500b04 tests/lib/libc/db/h_lfsr.c
--- a/tests/lib/libc/db/h_lfsr.c        Mon Jul 10 12:40:23 2017 +0000
+++ b/tests/lib/libc/db/h_lfsr.c        Mon Jul 10 13:01:13 2017 +0000
@@ -27,7 +27,7 @@
  * POSSIBILITY OF SUCH DAMAGE.
  */
 #include <sys/cdefs.h>
-__RCSID("$NetBSD: h_lfsr.c,v 1.1 2015/11/18 18:35:35 christos Exp $");
+__RCSID("$NetBSD: h_lfsr.c,v 1.1.8.1 2017/07/10 13:01:13 martin Exp $");
 
 #include <stdio.h>
 #include <stdlib.h>
@@ -37,7 +37,7 @@
 #include <unistd.h>
 #include <db.h>
 
-#define MAXKEY 0xffff
+#define MAXKEY 1000
 #ifdef DEBUG
 #define DPRINTF(...)   printf(__VA_ARGS__)
 #else



Home | Main Index | Thread Index | Old Index