chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
d06b3a9
)
tests: unlink temp file used in test
author
Ronny Chevalier
<chevalier.ronny@gmail.com>
Sun, 15 Jun 2014 20:47:49 +0000
(22:47 +0200)
committer
Tom Gundersen
<teg@jklm.no>
Mon, 16 Jun 2014 18:38:23 +0000
(20:38 +0200)
src/test/test-util.c
patch
|
blob
|
history
diff --git
a/src/test/test-util.c
b/src/test/test-util.c
index 2b466991255e445253c85db3c3086a4d191f6b4a..35dd63f53fc6735b95df2b51f1ca31a677b44508 100644
(file)
--- 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"));
assert(r == 0);
printf("contents: %s", contents);
assert(streq(contents, "abc\n" ALPHANUMERICAL "\n"));
+
+ unlink(name);
}
static void test_hexdump(void) {
}
static void test_hexdump(void) {