Skip to content

Commit

Permalink
tests: simulation of malloc() failure
Browse files Browse the repository at this point in the history
  • Loading branch information
Grigorii Demidov committed May 27, 2015
1 parent d625dd1 commit 783b4f5
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions tests/test_cache.c
Expand Up @@ -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
Expand Down

0 comments on commit 783b4f5

Please sign in to comment.