]> git.ipfire.org Git - thirdparty/util-linux.git/commit
tests: (test_mkfds) don't close fds and free memory objects when exiting with EXIT_FA...
authorMasatake YAMATO <yamato@redhat.com>
Fri, 27 Sep 2024 17:06:19 +0000 (02:06 +0900)
committerMasatake YAMATO <yamato@redhat.com>
Fri, 27 Sep 2024 17:06:28 +0000 (02:06 +0900)
commit89cdf55eac5606509253c04ec8b74bad6f2963b0
treed30406633b2c0a02f5565f97d43d9b317ea24252
parent0299a05618c1070bccb0bf8ef8d3c8a250d817a6
tests: (test_mkfds) don't close fds and free memory objects when exiting with EXIT_FAILURE

However, we keep calling unlink even when exiting with EXIT_FAILURE not to pollute
file system.

Signed-off-by: Masatake YAMATO <yamato@redhat.com>
tests/helpers/test_mkfds.c