test: remove temporary directory on success
authorYu Watanabe <watanabe.yu+github@gmail.com>
Thu, 15 Aug 2024 06:58:29 +0000 (15:58 +0900)
committerLuca Boccassi <bluca@debian.org>
Thu, 15 Aug 2024 13:04:41 +0000 (14:04 +0100)
commit4798a2ac4debc2ef0ff0634b87bd5f89f6c4a0b2
treeb9783b5669a601b76a60832de666fb9054caa120
parent91a21526289c360e477d8da24bea5ee89c520b19
test: remove temporary directory on success

Also use mkdtemp_open() with specific template.

Follow-up for e7e52ff9b6d6bbfcdcc298ef3c156420b51d58b8.

(cherry picked from commit 63be834db8fce69536b3ec04f636f1b838dd531a)
src/test/test-conf-parser.c