diff options
Diffstat (limited to 'test/malloc')
-rw-r--r-- | test/malloc/malloc.c | 4 | ||||
-rw-r--r-- | test/malloc/tst-calloc.c | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/test/malloc/malloc.c b/test/malloc/malloc.c index ca7c5f9..24dc69b 100644 --- a/test/malloc/malloc.c +++ b/test/malloc/malloc.c @@ -4,8 +4,8 @@ #include <string.h> #include <stdio.h> -#define N_PTRS 1000 -#define N_ALLOCS 10000 +#define N_PTRS 100 +#define N_ALLOCS 100 #define MAX_SIZE 0x10000 #define random_size() (random()%MAX_SIZE) diff --git a/test/malloc/tst-calloc.c b/test/malloc/tst-calloc.c index b7b6d2b..9373848 100644 --- a/test/malloc/tst-calloc.c +++ b/test/malloc/tst-calloc.c @@ -25,7 +25,7 @@ static int errors = 0; /* Number of samples per size. */ -#define N 50000 +#define N 500 static void |