From ef095d99f75b8bb6273e8f8980271de276489d44 Mon Sep 17 00:00:00 2001 From: Rusty Russell Date: Sun, 26 Sep 2010 17:02:25 +0930 Subject: [PATCH] noerr: don't leave tmpnam entries in /tmp in tests. --- ccan/noerr/test/run.c | 1 + 1 file changed, 1 insertion(+) diff --git a/ccan/noerr/test/run.c b/ccan/noerr/test/run.c index 144e4dd0..aeef1ca8 100644 --- a/ccan/noerr/test/run.c +++ b/ccan/noerr/test/run.c @@ -58,6 +58,7 @@ int main(int argc, char *argv[]) errno = 100; ok1(fclose_noerr(fp) == 0); ok1(errno == 100); + unlink(name); return exit_status(); } -- 2.39.2