]>
git.saurik.com Git - apple/xnu.git/blob - tools/tests/perf_index/perfindex-file_create.c
1 #include "perf_index.h"
3 #include "test_file_helper.h"
8 char tempdir
[MAXPATHLEN
];
13 retval
= setup_tempdir(tempdir
);
15 VERIFY(retval
, "tempdir setup failed");
17 printf("tempdir: %s\n", tempdir
);
19 return PERFINDEX_SUCCESS
;
23 return test_file_create(tempdir
, thread_id
, num_threads
, length
);
29 retval
= cleanup_tempdir(tempdir
);
30 VERIFY(retval
== 0, "cleanup_tempdir failed");
32 return PERFINDEX_SUCCESS
;