X-Git-Url: http://www.aleph1.co.uk/gitweb/?p=yaffs2.git;a=blobdiff_plain;f=direct%2Ftimothy_tests%2Fquick_tests%2Fquick_tests.h;h=535bd3afc142e135e8b9f45e9e5351ccd69decd3;hp=5d41e806c20b31b48f674aacf072b38ace771905;hb=239fd86892c59299042eabf617309a2d2ddf700b;hpb=7b53d290e92e619a315399ba49aadf6b40e13660;ds=sidebyside diff --git a/direct/timothy_tests/quick_tests/quick_tests.h b/direct/timothy_tests/quick_tests/quick_tests.h index 5d41e80..535bd3a 100644 --- a/direct/timothy_tests/quick_tests/quick_tests.h +++ b/direct/timothy_tests/quick_tests/quick_tests.h @@ -110,13 +110,23 @@ #include "test_yaffs_symlink_ENOENT.h" #include "test_yaffs_mount2.h" +#include "test_yaffs_mount2_ENODEV.h" #include "test_yaffs_unmount2.h" +#include "test_yaffs_unmount2_ENODEV.h" +#include "test_yaffs_unmount2_EINVAL.h" +#include "test_yaffs_unmount2_with_handle_open_and_forced_mode_on.h" +#include "test_yaffs_unmount2_with_handle_open_and_forced_mode_off.h" #include "test_yaffs_sync.h" -#include "test_yaffs_sync_ENOTDIR.h" -#include "test_yaffs_sync_ENOENT.h" +#include "test_yaffs_sync_ENODEV.h" +#include "test_yaffs_remount_force_off_read_only_off.h" +#include "test_yaffs_remount_force_on_read_only_off.h" +#include "test_yaffs_remount_ENODEV.h" +#include "test_yaffs_remount_EINVAL.h" + +#include "test_yaffs_freespace.h" #include "yaffsfs.h" #include "yaffs_error_converter.h" @@ -171,7 +181,7 @@ test_template test_list[]={ {test_yaffs_lseek,test_yaffs_lseek_clean,"test_yaffs_lseek"}, {test_yaffs_lseek_EBADF,test_yaffs_lseek_EBADF_clean,"test_yaffs_lseek_EBADF"}, {test_yaffs_lseek_EINVAL,test_yaffs_lseek_EINVAL_clean,"test_yaffs_lseek_EINVAL"}, - {test_yaffs_lseek_big_file,test_yaffs_lseek_big_file_clean,"test_yaffs_lseek_big_file"}, +// {test_yaffs_lseek_big_file,test_yaffs_lseek_big_file_clean,"test_yaffs_lseek_big_file"}, //this test does not work because the large number becomes 0 when the file is compiled. {test_yaffs_write,test_yaffs_write_clean,"test_yaffs_write"}, {test_yaffs_write_EBADF,test_yaffs_write_EBADF_clean,"test_yaffs_write_EBADF"}, @@ -198,7 +208,7 @@ test_template test_list[]={ {test_yaffs_truncate_EISDIR,test_yaffs_truncate_EISDIR_clean,"test_yaffs_truncate_EISDIR"}, {test_yaffs_truncate_EINVAL,test_yaffs_truncate_EINVAL_clean,"test_yaffs_truncate_EINVAL"}, {test_yaffs_truncate_ENOENT,test_yaffs_truncate_ENOENT_clean,"test_yaffs_truncate_ENOENT"}, - {test_yaffs_truncate_big_file,test_yaffs_truncate_big_file_clean,"test_yaffs_truncate_big_file"}, +// {test_yaffs_truncate_big_file,test_yaffs_truncate_big_file_clean,"test_yaffs_truncate_big_file"}, //this test does not work because the large number becomes 0 when the file is compiled. {test_yaffs_chmod,test_yaffs_chmod_clean,"test_yaffs_chmod"}, {test_yaffs_chmod_ENOENT,test_yaffs_chmod_ENOENT_clean,"test_yaffs_chmod_ENOENT"}, @@ -225,15 +235,25 @@ test_template test_list[]={ {test_yaffs_symlink_ENOENT,test_yaffs_symlink_ENOENT_clean,"test_yaffs_symlink_ENOENT"}, {test_yaffs_mount2,test_yaffs_mount2_clean,"test_yaffs_mount2"}, + {test_yaffs_mount2_ENODEV,test_yaffs_mount2_ENODEV_clean,"test_yaffs_mount2_ENODEV"}, + {test_yaffs_unmount2,test_yaffs_unmount2_clean,"test_yaffs_unmount2"}, + {test_yaffs_unmount2_ENODEV,test_yaffs_unmount2_ENODEV_clean,"test_yaffs_unmount2_ENODEV"}, + {test_yaffs_unmount2_EINVAL,test_yaffs_unmount2_EINVAL_clean,"test_yaffs_unmount2_EINVAL"}, {test_yaffs_unmount2_with_handle_open_and_forced_mode_on,test_yaffs_unmount2_with_handle_open_and_forced_mode_on_clean,"test_yaffs_unmount2_with_handle_open_and_forced_mode_on"}, +{test_yaffs_unmount2_with_handle_open_and_forced_mode_off,test_yaffs_unmount2_with_handle_open_and_forced_mode_off_clean,"test_yaffs_unmount2_with_handle_open_and_forced_mode_off"}, {test_yaffs_sync,test_yaffs_sync_clean,"test_yaffs_sync"}, - {test_yaffs_sync_ENOTDIR,test_yaffs_sync_ENOTDIR_clean,"test_yaffs_sync_ENOTDIR"}, - {test_yaffs_sync_ENOENT,test_yaffs_sync_ENOENT_clean,"test_yaffs_sync_ENOENT"} + {test_yaffs_sync_ENODEV,test_yaffs_sync_ENODEV_clean,"test_yaffs_sync_ENODEV"}, + + {test_yaffs_remount_force_off_read_only_off,test_yaffs_remount_force_off_read_only_off_clean,"test_yaffs_remount_force_off_read_only_off"}, +{test_yaffs_remount_force_on_read_only_off,test_yaffs_remount_force_on_read_only_off_clean,"test_yaffs_remount_force_on_read_only_off"}, + {test_yaffs_remount_ENODEV,test_yaffs_remount_ENODEV_clean,"test_yaffs_remount_ENODEV"}, + {test_yaffs_remount_EINVAL,test_yaffs_remount_EINVAL_clean,"test_yaffs_remount_EINVAL"}, + {test_yaffs_freespace,test_yaffs_freespace_clean,"test_yaffs_freespace"} }; void init_quick_tests(int argc, char *argv[]);