chiark / gitweb /
fs-util,test: add helper to remove tempfiles
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Wed, 16 May 2018 09:35:41 +0000 (11:35 +0200)
committerSven Eden <yamakuzure@gmx.net>
Fri, 24 Aug 2018 14:47:08 +0000 (16:47 +0200)
commit2d8a35e2eb9b93aafe0a86e45bb4cb0abf8b6c3a
treee422245cb8087a86ef9566f588e33c64f3305eba
parent128beb102e3f081742727ca685ca67d68cd382dd
fs-util,test: add helper to remove tempfiles

This simplifies the use of tempfiles in tests and fixes "leaked"
temporary files in test-fileio, test-catalog, test-conf-parser.

Not the whole tree is converted.
src/basic/fs-util.c
src/basic/fs-util.h
src/test/test-conf-parser.c