Browse Source

noerr: don't leave tmpnam entries in /tmp in tests.

Rusty Russell 15 years ago
parent
commit
ef095d99f7
1 changed files with 1 additions and 0 deletions
  1. 1 0
      ccan/noerr/test/run.c

+ 1 - 0
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();
 }