From 7f085ced56e9c37e26e9a78571b776b4a2932588 Mon Sep 17 00:00:00 2001 From: Szabolcs Nagy Date: Mon, 7 Sep 2020 10:21:08 +0000 Subject: [PATCH] memset test: fix to have more coverage --- src/functional/string_memset.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/functional/string_memset.c b/src/functional/string_memset.c index 405d49e..ed1fafa 100644 --- a/src/functional/string_memset.c +++ b/src/functional/string_memset.c @@ -3,7 +3,7 @@ #include #include "test.h" -#define N 400 +#define N 500 static char buf[N]; static char buf2[N]; @@ -57,8 +57,8 @@ int main(void) pmemset = memset; - for (i = 0; i < 16; i++) - for (j = 0; j < 200; j++) + for (i = 0; i < 64; i++) + for (j = 0; j < N-200; j++) test_align(i,j); test_value('c'); -- 2.11.4.GIT