]> git.ozlabs.org Git - ccan/blobdiff - ccan/noerr/test/run.c
tdb2: fix tdb_check() return when free table entries missing.
[ccan] / ccan / noerr / test / run.c
index 6f1361ce4d851929196c5c404de17bee91e2354a..aeef1ca835841881b6fb6e1bded76d96d4d148d8 100644 (file)
@@ -1,6 +1,6 @@
-#include "noerr/noerr.h"
-#include "tap/tap.h"
-#include "noerr/noerr.c"
+#include <ccan/noerr/noerr.h>
+#include <ccan/tap/tap.h>
+#include <ccan/noerr/noerr.c>
 #include <sys/types.h>
 #include <sys/stat.h>
 #include <fcntl.h>
@@ -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();
 }