]> git.ipfire.org Git - thirdparty/samba.git/commit
lib/torture: use temporary memory for each test/suites
authorStefan Metzmacher <metze@samba.org>
Fri, 9 May 2025 09:19:47 +0000 (11:19 +0200)
committerAndreas Schneider <asn@cryptomilk.org>
Mon, 19 May 2025 09:11:29 +0000 (09:11 +0000)
commit2099da9d42e3eb7ba67faeee3a2a0c9d41694643
tree5d95fc353b4f5cbd00cae315e29eb7ca68caadaa
parent17f815644b3c6d7e7be2964eee1ab7fc67a357d9
lib/torture: use temporary memory for each test/suites

We use torture_context_child() and tevent_re_initialise() in order
to run each test with it's own memory and also a cleared event context.

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
lib/torture/torture.c