 running yaffs direct tests running yaffs direct tests yaffsdirecttestspdf 522 kb admin 23 july 2012 103am  1 background this document is intended to provide a outline to the various tests that are incorporated into yaffs direct most of these tests were written as debug tools to test error response by various yaffs functions these and others can be used to check if yaffs is working properly 2 running the tests all of the test directories should have a makefile run it to compile the test the readmetxt file should tell you how to run the tests 3 tests isyaffsworkingtests folder contains a the tests related to simply seeing if yaffs is working there is only one test at the moment test1yaffsmountc which tests if yaffs will mount create a file and be able to read the file after remounting stresstester folder contains yaffstesterc which stress tests yaffs by opening and closing files at random this test will run forever or until it crashes handletests folder contains the test handletestsc which just creates files and duplicates the file handle the yaffsandlinuxmirrortests folder runs a yaffs operation and then compares the response the same command run under linux this test is used to check that yaffs responds in expected manner with respect to linux quicktests folder contains the quicktest which tests almost all of yaffs functions error handling and error codes the threading folder contains the testthreadingc which tests the thread locking ability of yaffs the folder linuxtests contains the linuxtestc test which tests yaffs running under linux using the nandsim generator  