projects
/
libc-test
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
7b91cea
)
memset test: fix to have more coverage
author
Szabolcs Nagy
<nsz@port70.net>
Mon, 7 Sep 2020 10:21:08 +0000
(10:21 +0000)
committer
Szabolcs Nagy
<nsz@port70.net>
Mon, 7 Sep 2020 11:02:30 +0000
(11:02 +0000)
src/functional/string_memset.c
patch
|
blob
|
history
diff --git
a/src/functional/string_memset.c
b/src/functional/string_memset.c
index
405d49e
..
ed1fafa
100644
(file)
--- a/
src/functional/string_memset.c
+++ b/
src/functional/string_memset.c
@@
-3,7
+3,7
@@
#include <stdint.h>
#include "test.h"
-#define N
4
00
+#define N
5
00
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');