Increase stress level of tests for nsock

This commit is contained in:
dmiller 2022-09-20 23:37:26 +00:00
parent e9f3b12e07
commit c236ade401
3 changed files with 5 additions and 1 deletions

View file

@ -69,7 +69,9 @@
#include <assert.h>
#define GH_LIST_MAGIC 0xBADFACE
#ifndef GH_LIST_PARANOID
#define GH_LIST_PARANOID 0
#endif
typedef struct gh_list_node {

View file

@ -9,7 +9,7 @@
#include <time.h>
#define HEAP_COUNT 1
#define HEAP_COUNT 3
struct testitem {
int val;

View file

@ -4,6 +4,8 @@
*/
#include "test-common.h"
/* Additional checks enabled */
#define GH_LIST_PARANOID 1
#include "../src/gh_list.h"
/* For container_of */
#include "../src/gh_heap.h"