summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorRonny Chevalier <chevalier.ronny@gmail.com>2014-06-15 22:47:49 +0200
committerTom Gundersen <teg@jklm.no>2014-06-16 20:38:23 +0200
commit40edd23670f977f9a7f12b372733a3668ec174d0 (patch)
tree5e6d4c66b5ccf56997c6e7c4976e813fdb66d232 /src
parentd06b3a9d70c6dee3371818931328e19876cc3259 (diff)
tests: unlink temp file used in test
Diffstat (limited to 'src')
-rw-r--r--src/test/test-util.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/test/test-util.c b/src/test/test-util.c
index 2b46699125..35dd63f53f 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) {