]> git.ozlabs.org Git - ccan/blobdiff - ccan/tdb/test/run-3G-file.c
tests: now we run in tmp dir, always create temporary files in this dir.
[ccan] / ccan / tdb / test / run-3G-file.c
index 94639113656d9b6967b46c0949f3006db1fab47a..ea395a9c35bdbdef76ae5abf06f72b689ff1737c 100644 (file)
@@ -73,7 +73,7 @@ int main(int argc, char *argv[])
        struct tdb_record rec;
 
        plan_tests(24);
-       tdb = tdb_open("/tmp/test.tdb", 1024, TDB_CLEAR_IF_FIRST,
+       tdb = tdb_open("run-36-file.tdb", 1024, TDB_CLEAR_IF_FIRST,
                       O_CREAT|O_TRUNC|O_RDWR, 0600);
 
        ok1(tdb);