Module Name: src
Committed By: gson
Date: Sat Jun 24 10:25:23 UTC 2017
Modified Files:
src/tests/lib/libc/db: h_lfsr.c
Log Message:
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.
To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/tests/lib/libc/db/h_lfsr.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/db/h_lfsr.c
diff -u src/tests/lib/libc/db/h_lfsr.c:1.1 src/tests/lib/libc/db/h_lfsr.c:1.2
--- src/tests/lib/libc/db/h_lfsr.c:1.1 Wed Nov 18 18:35:35 2015
+++ src/tests/lib/libc/db/h_lfsr.c Sat Jun 24 10:25:23 2017
@@ -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.2 2017/06/24 10:25:23 gson Exp $");
#include <stdio.h>
#include <stdlib.h>
@@ -37,7 +37,7 @@ __RCSID("$NetBSD: h_lfsr.c,v 1.1 2015/11
#include <unistd.h>
#include <db.h>
-#define MAXKEY 0xffff
+#define MAXKEY 1000
#ifdef DEBUG
#define DPRINTF(...) printf(__VA_ARGS__)
#else