chiark / gitweb /
core: populate unit file set with preset data if we boot with empty /etc
[elogind.git] / src / test / test-util.c
index 2b466991255e445253c85db3c3086a4d191f6b4a..35dd63f53fc6735b95df2b51f1ca31a677b44508 100644 (file)
@@ -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) {