1 Made by Timothy Manning on 24/12/10 <timothy@yaffs.net>
4 mirror_tests is designed to check that yaffs behaves the same way as linux.
5 This is done by applying the same command to both linux and yaffs and
6 then checking the output of the functions.
7 The default place for creating linux files is direct/timothy_tests/mirror_tests/tests/
8 This directory is removed and is recreated at the beginning of each test,
9 However some of the files may be read only and cannot be deleted.
10 It is much better to remove this directory via the command line.
12 rm test/*;rmdir test/;./mirror_tests -n 100 -v
14 Command line arguments
15 -yaffs_path [PATH] //sets the path for yaffs.
16 -linux_path [PATH] //sets the path for linux.
17 -p [NUMBER] //sets the print level for mirror_tests.
18 -v //verbose mode everything is printed
19 -q //quiet mode nothing is printed.
20 -n [number] //sets the number of random tests to run.
21 -s [number] //seeds rand with the number
22 -t [number] //sets yaffs_trace to the number
23 -clean //removes emfile and test dir