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:
parent
d06b3a9d70
commit
40edd23670
@ -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) {
|
||||||
|
Loading…
Reference in New Issue
Block a user