X-Git-Url: http://www.aleph1.co.uk/gitweb/?p=yaffs2.git;a=blobdiff_plain;f=direct%2Ftests%2Fyaffs_test.c;h=b35c75025a821a99191b6593abc42553a4a9d770;hp=825cf187d3ab7a0ae58a454e27ab8b2a7bee184b;hb=b708f76c6a03f86058236dbd529e8c3623571325;hpb=d22f3456a462be87d8fa7c69c06bd22a95522a0f diff --git a/direct/tests/yaffs_test.c b/direct/tests/yaffs_test.c index 825cf18..b35c750 100644 --- a/direct/tests/yaffs_test.c +++ b/direct/tests/yaffs_test.c @@ -45,7 +45,7 @@ int n_cycles = -1; int fuzz_test=0; -int yaffs_test_maxMallocs; +int yaffs_test_max_mallocs; extern int ops_multiplier; @@ -227,7 +227,7 @@ int main(int argc, char **argv) n_cycles = atoi(optarg); break; case 't': - yaffs_traceMask = strtol(optarg,NULL,0); + yaffs_trace_mask = strtol(optarg,NULL,0); break; case 'z':fuzz_test=1; break; @@ -239,7 +239,7 @@ int main(int argc, char **argv) argv += optind; if(random_mallocs){ - yaffs_test_maxMallocs = 0xFFF & random_seed; + yaffs_test_max_mallocs = 0xFFF & random_seed; } if(argc == 1) { @@ -257,7 +257,7 @@ int main(int argc, char **argv) simulate_power_failure ? "power_fail" : "", random_seed, n_cycles); - yaffs_StartUp(); + yaffs_start_up(); result = yaffs_mount(mount_point); if(result < 0){ printf("Mount of %s failed\n",mount_point);