summaryrefslogtreecommitdiff
path: root/lib/bitmap_test.c
diff options
context:
space:
mode:
authorMaria Matejka <mq@ucw.cz>2022-03-09 10:30:03 +0100
committerMaria Matejka <mq@ucw.cz>2022-03-09 10:30:42 +0100
commit9e60a1fbc3ef9ab93b414dcf451bbe741e2e8827 (patch)
treeacf228f298ac25f90f304a5c428c1c82282f389a /lib/bitmap_test.c
parentb90c9b164fedd44115c01fb2b07f71fb40ab3b77 (diff)
Fixed resource initialization in unit tests
Diffstat (limited to 'lib/bitmap_test.c')
-rw-r--r--lib/bitmap_test.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/lib/bitmap_test.c b/lib/bitmap_test.c
index 0595a4d0..07860c94 100644
--- a/lib/bitmap_test.c
+++ b/lib/bitmap_test.c
@@ -24,7 +24,6 @@ t_bmap_set_clear_random(void)
{
struct bmap b;
- resource_init();
bmap_init(&b, &root_pool, 1024);
char expected[MAX_NUM] = {};
@@ -60,7 +59,6 @@ t_hmap_set_clear_random(void)
{
struct hmap b;
- resource_init();
hmap_init(&b, &root_pool, 1024);
char expected[MAX_NUM] = {};
@@ -119,7 +117,6 @@ t_hmap_set_clear_fill(void)
{
struct hmap b;
- resource_init();
hmap_init(&b, &root_pool, 1024);
char expected[MAX_NUM] = {};