diff options
author | Ronny Chevalier <chevalier.ronny@gmail.com> | 2014-06-15 22:47:49 +0200 |
---|---|---|
committer | Tom Gundersen <teg@jklm.no> | 2014-06-16 20:38:23 +0200 |
commit | 40edd23670f977f9a7f12b372733a3668ec174d0 (patch) | |
tree | 5e6d4c66b5ccf56997c6e7c4976e813fdb66d232 | |
parent | d06b3a9d70c6dee3371818931328e19876cc3259 (diff) |
tests: unlink temp file used in test
-rw-r--r-- | src/test/test-util.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/test/test-util.c b/src/test/test-util.c index 2b46699125..35dd63f53f 100644 --- a/src/test/test-util.c +++ b/src/test/test-util.c @@ -654,6 +654,8 @@ static void test_writing_tmpfile(void) { assert(r == 0); printf("contents: %s", contents); assert(streq(contents, "abc\n" ALPHANUMERICAL "\n")); + + unlink(name); } static void test_hexdump(void) { |