]> git.saurik.com Git - apple/xnu.git/blobdiff - tools/tests/perf_index/perfindex-ram_file_create.c
xnu-6153.11.26.tar.gz
[apple/xnu.git] / tools / tests / perf_index / perfindex-ram_file_create.c
index 7c24b4a4b6c63dff3dd1f2bb508af8ebb1f3d1f8..9df49326c322abab67ede6576358eb0b4c056f8e 100644 (file)
@@ -9,25 +9,25 @@ const char ramdisk_name[] = "StressRAMDisk";
 char ramdisk_path[MAXPATHLEN];
 
 DECL_SETUP {
-    int retval;
+       int retval;
 
-    retval = setup_ram_volume(ramdisk_name, ramdisk_path);
-    VERIFY(retval == PERFINDEX_SUCCESS, "setup_ram_volume failed");
+       retval = setup_ram_volume(ramdisk_name, ramdisk_path);
+       VERIFY(retval == PERFINDEX_SUCCESS, "setup_ram_volume failed");
 
-    printf("ramdisk: %s\n", ramdisk_path);
+       printf("ramdisk: %s\n", ramdisk_path);
 
-    return PERFINDEX_SUCCESS;
+       return PERFINDEX_SUCCESS;
 }
 
 DECL_TEST {
-    return test_file_create(ramdisk_path, thread_id, num_threads, length);
+       return test_file_create(ramdisk_path, thread_id, num_threads, length);
 }
 
 DECL_CLEANUP {
-    int retval;
+       int retval;
 
-    retval = cleanup_ram_volume(ramdisk_path);
-    VERIFY(retval == 0, "cleanup_ram_volume failed");
+       retval = cleanup_ram_volume(ramdisk_path);
+       VERIFY(retval == 0, "cleanup_ram_volume failed");
 
-    return PERFINDEX_SUCCESS;
+       return PERFINDEX_SUCCESS;
 }