X-Git-Url: http://www.aleph1.co.uk/gitweb/?p=yaffs2.git;a=blobdiff_plain;f=direct%2Ftimothy_tests%2Flinux_tests%2FREADME.txt;h=be8b831c1b8673f74195fcd6d503ed46c0c515c9;hp=0c3fa845f637d685fe6328d962fc26458563883a;hb=121c055437f23d9d6bc7b57d36ecf128b447013f;hpb=d7388fb75a13610d14d0afc397f826bd44c972e1 diff --git a/direct/timothy_tests/linux_tests/README.txt b/direct/timothy_tests/linux_tests/README.txt index 0c3fa84..be8b831 100644 --- a/direct/timothy_tests/linux_tests/README.txt +++ b/direct/timothy_tests/linux_tests/README.txt @@ -1,11 +1,17 @@ +linux_test.c tests yaffs running under linux using the nandsim generator. + + +If a segmentation fault happens during the test then check that +the nandsim has been initilised properly. + How to initilise the nandsim $ make $ sudo -s ...password.. -# now have a root shell +# now you have a root shell $ ./linux-tests/initnandsim 128MiB-2048 $ insmod yaffs2multi.ko $ mkdir /mnt/y @@ -24,7 +30,19 @@ How to clean the folder $ rm -rf /mnt/y -The test must be run in sudo to work +The test must be run in sudo to work to allow the files to be +created in the root folders. -$ make -$ sudo ./linux_test +compile command: make +run command: sudo ./linux_test + +command line options: + -h display the command line options. + -s [number] seeds the rand with the number. + -p [number] sets the print level to the number. + the higher the number the more low level commands are printed. + the number should be between 0 and 5. + -v verbose mode. everything is printed. + -q quite mode. nothing is printed. + +