1
0
mirror of https://github.com/systemd/systemd.git synced 2024-10-28 20:25:38 +03:00

tests: unlink temp file used in test

This commit is contained in:
Ronny Chevalier 2014-06-15 22:47:49 +02:00 committed by Tom Gundersen
parent d06b3a9d70
commit 40edd23670

View File

@ -654,6 +654,8 @@ static void test_writing_tmpfile(void) {
assert(r == 0); assert(r == 0);
printf("contents: %s", contents); printf("contents: %s", contents);
assert(streq(contents, "abc\n" ALPHANUMERICAL "\n")); assert(streq(contents, "abc\n" ALPHANUMERICAL "\n"));
unlink(name);
} }
static void test_hexdump(void) { static void test_hexdump(void) {