Commit 783b4f5a authored by Grigorii Demidov's avatar Grigorii Demidov

tests: simulation of malloc() failure

parent d625dd11
......@@ -38,8 +38,6 @@ const namedb_api_t *(*kr_cache_storage_saved)(void);
uint8_t namedb_data[NAMEDB_DATA_SIZE];
namedb_val_t global_namedb_data = {namedb_data, NAMEDB_DATA_SIZE};
bool is_malloc_mocked = false;
#define BACKTRACE_ARRAY_SIZE 1024
void* callstack[BACKTRACE_ARRAY_SIZE];
#define CACHE_SIZE 10 * 4096
#define CACHE_TTL 10
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment