From 40edd23670f977f9a7f12b372733a3668ec174d0 Mon Sep 17 00:00:00 2001 From: Ronny Chevalier Date: Sun, 15 Jun 2014 22:47:49 +0200 Subject: [PATCH] tests: unlink temp file used in test --- src/test/test-util.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/test/test-util.c b/src/test/test-util.c index 2b4669912..35dd63f53 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) { -- 2.30.2