summaryrefslogtreecommitdiff
path: root/direct
diff options
context:
space:
mode:
authorTimothy Manning <tfhmanning@gmail.com>2010-12-24 10:17:16 +1300
committerTimothy Manning <tfhmanning@gmail.com>2010-12-24 10:17:16 +1300
commit8a946551046502799aca7086e585f4b9e2437587 (patch)
tree517d52536baf7146697e9fbefdc40d5b5de371e0 /direct
parentddf33fed15c2376bfb602d62dd018c63fce60df8 (diff)
yaffs Added a README to direct/timothy_tests/mirror_tests
Signed-off-by: Timothy Manning <tfhmanning@gmail.com>
Diffstat (limited to 'direct')
-rw-r--r--direct/timothy_tests/mirror_tests/README.txt24
1 files changed, 24 insertions, 0 deletions
diff --git a/direct/timothy_tests/mirror_tests/README.txt b/direct/timothy_tests/mirror_tests/README.txt
new file mode 100644
index 0000000..1edc620
--- /dev/null
+++ b/direct/timothy_tests/mirror_tests/README.txt
@@ -0,0 +1,24 @@
+Made by Timothy Manning on 24/12/10 <timothy@yaffs.net>
+
+
+ mirror_tests is designed to check that yaffs behaves the same way as linux.
+ This is done by applying the same command to both linux and yaffs and
+ then checking the output of the functions.
+ The default place for creating linux files is direct/timothy_tests/mirror_tests/tests/
+ This directory is removed and is recreated at the beginning of each test,
+ However some of the files may be read only and cannot be deleted.
+ It is much better to remove this directory via the command line.
+
+ rm test/*;rmdir test/;./mirror_tests -n 100 -v
+
+Command line arguments
+ -yaffs_path [PATH] //sets the path for yaffs.
+ -linux_path [PATH] //sets the path for linux.
+ -p [NUMBER] //sets the print level for mirror_tests.
+ -v //verbose mode everything is printed
+ -q //quiet mode nothing is printed.
+ -n [number] //sets the number of random tests to run.
+ -s [number] //seeds rand with the number
+ -t [number] //sets yaffs_trace to the number
+ -clean //removes emfile and test dir
+