mirror of
https://github.com/nmap/nmap.git
synced 2026-09-02 08:20:52 +00:00
Increase stress level of tests for nsock
This commit is contained in:
parent
e9f3b12e07
commit
c236ade401
3 changed files with 5 additions and 1 deletions
|
|
@ -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 {
|
||||
|
|
|
|||
|
|
@ -9,7 +9,7 @@
|
|||
#include <time.h>
|
||||
|
||||
|
||||
#define HEAP_COUNT 1
|
||||
#define HEAP_COUNT 3
|
||||
|
||||
struct testitem {
|
||||
int val;
|
||||
|
|
|
|||
|
|
@ -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"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue