Commit ef095d99 authored by Rusty Russell's avatar Rusty Russell

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

parent e4b3b1e9
...@@ -58,6 +58,7 @@ int main(int argc, char *argv[]) ...@@ -58,6 +58,7 @@ int main(int argc, char *argv[])
errno = 100; errno = 100;
ok1(fclose_noerr(fp) == 0); ok1(fclose_noerr(fp) == 0);
ok1(errno == 100); ok1(errno == 100);
unlink(name);
return exit_status(); return exit_status();
} }
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment