tests: use common_setup/common_shutdown to avoid leaks.

It also does more checks (like taken() checks).

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
Rusty Russell
2021-11-15 04:22:46 +10:30
parent 68043c2e8c
commit 57328fe59e
17 changed files with 60 additions and 54 deletions

View File

@@ -16,6 +16,7 @@ CLI_TEST_COMMON_OBJS := \
common/pseudorand.o \
common/memleak.o \
common/msg_queue.o \
common/setup.o \
common/utils.o \
common/type_to_string.o \
common/permute_tx.o