X-Git-Url: http://aleph1.co.uk/gitweb/?a=blobdiff_plain;f=direct%2Ftimothy_tests%2Fquick_tests%2FREADME.txt;h=55b670e6680eb2b1fef9916c0038f0682217bb85;hb=65181386582a6257c55c1d114c82697d7a35231c;hp=851315c94697d7a34513df1d560a51a142b82c67;hpb=a0be6e4dc3e5f1a775b408a8fdc83ca3252fd595;p=yaffs2.git diff --git a/direct/timothy_tests/quick_tests/README.txt b/direct/timothy_tests/quick_tests/README.txt index 851315c..55b670e 100644 --- a/direct/timothy_tests/quick_tests/README.txt +++ b/direct/timothy_tests/quick_tests/README.txt @@ -1,6 +1,20 @@ - Made by Timothy Manning on 04/11/2010 +This test is designed to test the response and error handling of the yaffs functions. + +compile command: make +run command: ./quick_tests + +command line options: + -h prints the available command line options. + -c tests will continue even if a test fails, rather than exiting the test. + -v verbose mode. will print all messages. + -q quiet mode. will not print any messages. + -t [number] sets the yaffs_trace() function to the number. + -n [number] sets the number of randomly selected tests to run after the test has run through + after running all of listed tests. + +############################# development infomation #################################################################### Tests made @@ -31,6 +45,9 @@ test_yaffs_close.c test_yaffs_close_EBADF.c test_yaffs_close_NULL.c +test_yaffs_dup.c +test_yaffs_dup_EBADF.c + test_yaffs_fchmod.c test_yaffs_fchmod_EBADF.c test_yaffs_fchmod_EINVAL.c @@ -243,18 +260,15 @@ test_yaffs_write_EROFS.c Tests to add - + test_yaffs_rename a file over its self. test_yaffs_readlink test_yaffs_readlink_ENOENT test_yaffs_readlink_ENOTDIR test_yaffs_readlink_ELOOP - test_yaffs_mount2_with read only set - - test_yaffs_remount_force_off_read_only_on test_yaffs_remount_force_on_read_only_on @@ -266,23 +280,17 @@ Tests to add test_yaffs_closedir - test_yaffs_link_EPERM test_yaffs_rmdir_ENOTEMPTY test_yaffs_rename_EMLINK - test_yaffs_rename_EEXISTS or EPERM - - test_yaffs_dup - test_yaffs_dup_EBADF + test_yaffs_rename_EEXISTS or EPERM test_yaffs_open_ENOSPC test yaffs_open_running_out_of_handles error - - test_yaffs_read_big_file test what happens if you read off the end of the file? @@ -295,17 +303,14 @@ Tests to add test_yaffs_write_EINVAL What happens when you run out of space? - test_yaffs_write_EBADF - test_yaffs_write + test_yaffs_pwrite_big_file test_yaffs_pwrite_EINVAL test_yaffs_unlink_ENOMEM - test_yaffs_access_ENOENT_generated_with_a_dangling_symbloic_link - Add a truncate function for truncating a file size to -1. What happens if a handle is opened to a file and the file is then deleted?