X-Git-Url: http://www.aleph1.co.uk/gitweb/?p=yaffs2.git;a=blobdiff_plain;f=direct%2Ffsx_test%2Fyaffs_fsx.c;h=d3d3149b05206b0ea02b42e55581960a80c51ece;hp=8e7f38b24270f31b52a3c051382533cf46634216;hb=dff2fb3fa3e86a6a72f120676e98910ab1dfc5aa;hpb=3e802da43aa1bfe3d98f0c1fbfb6572e8593e816 diff --git a/direct/fsx_test/yaffs_fsx.c b/direct/fsx_test/yaffs_fsx.c index 8e7f38b..d3d3149 100644 --- a/direct/fsx_test/yaffs_fsx.c +++ b/direct/fsx_test/yaffs_fsx.c @@ -130,7 +130,7 @@ int writebdy = 1; /* -w flag */ long monitorstart = -1; /* -m flag */ long monitorend = -1; /* -m flag */ int lite = 0; /* -L flag */ -long numops = /*-1 */ 100000; /* -N flag */ +long numops = /*-1 */ 10000000; /* -N flag */ int randomoplen = 1; /* -O flag disables it */ int seed = 1; /* -S flag */ @@ -774,7 +774,10 @@ getnum(char *s, char **e) } -#define BASE_NAME "/flash/yaffs2" +#define BASE_NAME "/M18-1" + +int random_seed = 999; +int simulate_power_failure = 0; int main(int argc, char **argv) @@ -916,7 +919,7 @@ main(int argc, char **argv) argc -= optind; argv += optind; - yaffs_StartUp(); + yaffs_start_up(); yaffs_mount(BASE_NAME); fname = BASE_NAME "/fsxdata";