1 Made by Timothy Manning on 24/12/2010 <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
15 run command: mirror_tests
17 Command line arguments
18 -yaffs_path [PATH] sets the path for yaffs.
19 -linux_path [PATH] sets the path for linux.
20 -p [NUMBER] sets the print level for mirror_tests.
21 -v verbose mode everything is printed
22 -q quiet mode nothing is printed.
23 -n [number] sets the number of random tests to run.
24 -s [number] seeds rand with the number
25 -t [number] sets yaffs_trace to the number
26 -clean removes emfile and test dir