mirror of
https://github.com/NLnetLabs/unbound.git
synced 2025-12-20 23:00:56 -05:00
Unlock view in respip unit test
git-svn-id: file:///svn/unbound/trunk@4098 be551aaa-1e26-0410-a405-d3ace91eadb9
This commit is contained in:
parent
06e794898f
commit
7e59ef65e6
2 changed files with 5 additions and 0 deletions
|
|
@ -1,3 +1,6 @@
|
||||||
|
7 april 2017: Ralph
|
||||||
|
- Unlock view in respip unit test
|
||||||
|
|
||||||
6 April 2017: Ralph
|
6 April 2017: Ralph
|
||||||
- Generalise inplace callback (de)registration
|
- Generalise inplace callback (de)registration
|
||||||
- (de)register inplace callbacks for module id
|
- (de)register inplace callbacks for module id
|
||||||
|
|
|
||||||
|
|
@ -685,9 +685,11 @@ respip_view_conf_actions_test(void)
|
||||||
v = views_find_view(views, "view1", 0);
|
v = views_find_view(views, "view1", 0);
|
||||||
unit_assert(v);
|
unit_assert(v);
|
||||||
verify_respip_set_actions(v->respip_set, config_response_ip_view1, clen1);
|
verify_respip_set_actions(v->respip_set, config_response_ip_view1, clen1);
|
||||||
|
lock_rw_unlock(&v->lock);
|
||||||
v = views_find_view(views, "view2", 0);
|
v = views_find_view(views, "view2", 0);
|
||||||
unit_assert(v);
|
unit_assert(v);
|
||||||
verify_respip_set_actions(v->respip_set, config_response_ip_view2, clen2);
|
verify_respip_set_actions(v->respip_set, config_response_ip_view2, clen2);
|
||||||
|
lock_rw_unlock(&v->lock);
|
||||||
}
|
}
|
||||||
|
|
||||||
typedef struct addr_data {char* ip; char* data;} addr_data_t;
|
typedef struct addr_data {char* ip; char* data;} addr_data_t;
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue