[systemd-devel] [PATCH] tests: unlink temp file used in test
Ronny Chevalier
chevalier.ronny at gmail.com
Sun Jun 15 13:47:49 PDT 2014
---
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 2b46699..35dd63f 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.0.0
More information about the systemd-devel
mailing list