X-Git-Url: http://www.aleph1.co.uk/gitweb/?p=yaffs2.git;a=blobdiff_plain;f=direct%2Ftests%2Fyaffs_test.c;h=5df17f84eca00f0dd14e22a731f6a523600cb017;hp=825cf187d3ab7a0ae58a454e27ab8b2a7bee184b;hb=121c055437f23d9d6bc7b57d36ecf128b447013f;hpb=d22f3456a462be87d8fa7c69c06bd22a95522a0f diff --git a/direct/tests/yaffs_test.c b/direct/tests/yaffs_test.c index 825cf18..5df17f8 100644 --- a/direct/tests/yaffs_test.c +++ b/direct/tests/yaffs_test.c @@ -1,7 +1,7 @@ /* * YAFFS: Yet another FFS. A NAND-flash specific file system. * - * Copyright (C) 2002-2010 Aleph One Ltd. + * Copyright (C) 2002-2011 Aleph One Ltd. * for Toby Churchill Ltd and Brightstar Engineering * * Created by Charles Manning @@ -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);