int main(int argc, char *argv[]) { int run_test; /* Set default test repetition */ tests_repeat_parameter = 1; /* Handle common arguments */ run_test = tests_get_args(argc, argv, integck_get_title(), integck_get_description(), "n"); if (!run_test) return 1; /* Change directory to the file system and check it is ok for testing */ tests_check_test_file_system(); /* * We expect accurate file size from ubifs even after "no space" * errors. And we can mmap. */ if (strcmp(tests_file_system_type, "ubifs") == 0) { check_nospc_files = 1; can_mmap = 1; } /* Do the actual test */ integck(); return 0; }
int main(int argc, char *argv[]) { int run_test; /* Set default test repetition */ tests_repeat_parameter = 1; /* Handle common arguments */ run_test = tests_get_args(argc, argv, integck_get_title(), integck_get_description(), "n"); if (!run_test) return 1; /* Change directory to the file system and check it is ok for testing */ tests_check_test_file_system(); /* Do the actual test */ integck(); return 0; }