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=336a1d7bfe317e8185143b9a5ebd21966ac63244;hp=5fbf67a9511e1faf19cb013d6c8f698550e26177;hb=17f7d8f4d601b9685221c6899f30cfb43babf32c;hpb=e7d46266c3b860e73cc8c7dc9ec494d2d82c188c diff --git a/direct/timothy_tests/quick_tests/quick_tests.h b/direct/timothy_tests/quick_tests/quick_tests.h index 5fbf67a..336a1d7 100644 --- a/direct/timothy_tests/quick_tests/quick_tests.h +++ b/direct/timothy_tests/quick_tests/quick_tests.h @@ -37,6 +37,7 @@ #include "test_yaffs_open_EINVAL2.h" #include "test_yaffs_open_ELOOP.h" #include "test_yaffs_open_ELOOP_dir.h" +#include "test_yaffs_open_EROFS.h" #include "test_yaffs_close_EBADF.h" @@ -54,6 +55,7 @@ #include "test_yaffs_ftruncate_EBADF.h" #include "test_yaffs_ftruncate_EINVAL.h" #include "test_yaffs_ftruncate_big_file.h" +#include "test_yaffs_ftruncate_EROFS.h" #include "test_yaffs_truncate.h" @@ -98,6 +100,7 @@ #include "test_yaffs_fstat.h" #include "test_yaffs_fstat_EBADF.h" + #include "test_yaffs_chmod.h" #include "test_yaffs_chmod_ENOENT.h" #include "test_yaffs_chmod_ENOTDIR.h" @@ -110,18 +113,22 @@ #include "test_yaffs_fchmod.h" #include "test_yaffs_fchmod_EBADF.h" #include "test_yaffs_fchmod_EINVAL.h" +#include "test_yaffs_fchmod_EROFS.h" #include "test_yaffs_fsync.h" #include "test_yaffs_fsync_EBADF.h" +#include "test_yaffs_fsync_EROFS.h" #include "test_yaffs_fdatasync.h" #include "test_yaffs_fdatasync_EBADF.h" +#include "test_yaffs_fdatasync_EROFS.h" #include "test_yaffs_mkdir.h" #include "test_yaffs_mkdir_EEXIST.h" #include "test_yaffs_mkdir_ENOTDIR.h" #include "test_yaffs_mkdir_ENOENT.h" #include "test_yaffs_mkdir_ELOOP_dir.h" +#include "test_yaffs_mkdir_EROFS.h" #include "test_yaffs_symlink.h" @@ -166,7 +173,7 @@ #include "test_yaffs_link_ENOENT3.h" #include "test_yaffs_link_ENOENT4.h" #include "test_yaffs_link_ELOOP_dir.h" - +#include "test_yaffs_link_EROFS.h" #include "test_yaffs_rmdir.h" #include "test_yaffs_rmdir_EBUSY.h" @@ -193,6 +200,7 @@ #include "test_yaffs_flush.h" #include "test_yaffs_flush_EBADF.h" +#include "test_yaffs_flush_EROFS.h" #include "yaffsfs.h" #include "yaffs_error_converter.h" @@ -230,6 +238,7 @@ test_template test_list[]={ {test_yaffs_open_EINVAL2,test_yaffs_open_EINVAL2_clean,"test_yaffs_open_EINVAL2"}, {test_yaffs_open_ELOOP,test_yaffs_open_ELOOP_clean,"test_yaffs_open_ELOOP"}, {test_yaffs_open_ELOOP_dir,test_yaffs_open_ELOOP_dir_clean,"test_yaffs_open_ELOOP_dir"}, + {test_yaffs_open_EROFS,test_yaffs_open_EROFS_clean,"test_yaffs_open_EROFS"}, {test_yaffs_close_EBADF,test_yaffs_close_EBADF_clean,"test_yaffs_close_EBADF"}, @@ -279,6 +288,7 @@ test_template test_list[]={ {test_yaffs_ftruncate_EBADF,test_yaffs_ftruncate_EBADF_clean,"test_yaffs_ftruncate_EBADF"}, {test_yaffs_ftruncate_EINVAL,test_yaffs_ftruncate_EINVAL_clean,"test_yaffs_ftruncate_EINVAL"}, {test_yaffs_ftruncate_big_file,test_yaffs_ftruncate_big_file_clean,"test_yaffs_ftruncate_big_file"}, + {test_yaffs_ftruncate_EROFS,test_yaffs_ftruncate_EROFS_clean,"test_yaffs_ftruncate_EROFS"}, {test_yaffs_truncate,test_yaffs_truncate_clean,"test_yaffs_truncate"}, {test_yaffs_truncate_ENOTDIR,test_yaffs_truncate_ENOTDIR_clean,"test_yaffs_truncate_ENOTDIR"}, @@ -300,18 +310,22 @@ test_template test_list[]={ {test_yaffs_fchmod,test_yaffs_fchmod_clean,"test_yaffs_fchmod"}, {test_yaffs_fchmod_EBADF,test_yaffs_fchmod_EBADF_clean,"test_yaffs_fchmod_EBADF"}, {test_yaffs_fchmod_EINVAL,test_yaffs_fchmod_EINVAL_clean,"test_yaffs_fchmod_EINVAL"}, + {test_yaffs_fchmod_EROFS,test_yaffs_fchmod_EROFS_clean,"test_yaffs_fchmod_EROFS"}, {test_yaffs_fsync,test_yaffs_fsync_clean,"test_yaffs_fsync"}, {test_yaffs_fsync_EBADF,test_yaffs_fsync_EBADF_clean,"test_yaffs_fsync_EBADF"}, + {test_yaffs_fsync_EROFS,test_yaffs_fsync_EROFS_clean,"test_yaffs_fsync_EROFS"}, {test_yaffs_fdatasync,test_yaffs_fdatasync_clean,"test_yaffs_fdatasync"}, {test_yaffs_fdatasync_EBADF,test_yaffs_fdatasync_EBADF_clean,"test_yaffs_fdatasync_EBADF"}, + {test_yaffs_fdatasync_EROFS,test_yaffs_fdatasync_EROFS_clean,"test_yaffs_fdatasync_EROFS"}, {test_yaffs_mkdir,test_yaffs_mkdir_clean,"test_yaffs_mkdir"}, {test_yaffs_mkdir_EEXIST,test_yaffs_mkdir_EEXIST_clean,"test_yaffs_mkdir_EEXIST"}, {test_yaffs_mkdir_ENOTDIR,test_yaffs_mkdir_ENOTDIR_clean,"test_yaffs_mkdir_ENOTDIR"}, {test_yaffs_mkdir_ENOENT,test_yaffs_mkdir_ENOENT_clean,"test_yaffs_mkdir_ENOENT"}, {test_yaffs_mkdir_ELOOP_dir,test_yaffs_mkdir_ELOOP_dir_clean,"test_yaffs_mkdir_ELOOP_dir"}, + {test_yaffs_mkdir_EROFS,test_yaffs_mkdir_EROFS_clean,"test_yaffs_mkdir_EROFS"}, {test_yaffs_symlink,test_yaffs_symlink_clean,"test_yaffs_symlink"}, {test_yaffs_symlink_ENOTDIR,test_yaffs_symlink_ENOTDIR_clean,"test_yaffs_symlink_ENOTDIR"}, @@ -326,7 +340,8 @@ test_template test_list[]={ {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_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"}, @@ -357,6 +372,7 @@ test_template test_list[]={ {test_yaffs_link_ENOENT3,test_yaffs_link_ENOENT3_clean,"test_yaffs_link_ENOENT3"}, {test_yaffs_link_ENOENT4,test_yaffs_link_ENOENT4_clean,"test_yaffs_link_ENOENT4"}, {test_yaffs_link_ELOOP_dir,test_yaffs_link_ELOOP_dir_clean,"test_yaffs_link_ELOOP_dir"}, + {test_yaffs_link_EROFS,test_yaffs_link_EROFS_clean,"test_yaffs_link_EROFS"}, {test_yaffs_rmdir,test_yaffs_rmdir_clean,"test_yaffs_rmdir"}, {test_yaffs_rmdir_EBUSY,test_yaffs_rmdir_EBUSY_clean,"test_yaffs_rmdir_EBUSY"}, @@ -373,8 +389,8 @@ test_template test_list[]={ {test_yaffs_rename_dir,test_yaffs_rename_dir_clean,"test_yaffs_rename_dir"}, {test_yaffs_rename_dir_ENOENT,test_yaffs_rename_dir_ENOENT_clean,"test_yaffs_rename_dir_ENOENT"}, {test_yaffs_rename_dir_ENOENT2,test_yaffs_rename_dir_ENOENT2_clean,"test_yaffs_rename_dir_ENOENT2"}, - {test_yaffs_rename_file_to_dir,test_yaffs_rename_file_to_dir_clean,"test_yaffs_rename_file_to_dir"}, {test_yaffs_rename_dir_to_file,test_yaffs_rename_dir_to_file_clean,"test_yaffs_rename_dir_to_file"}, + {test_yaffs_rename_file_to_dir,test_yaffs_rename_file_to_dir_clean,"test_yaffs_rename_file_to_dir"}, {test_yaffs_rename_EEXISTS,test_yaffs_rename_EEXISTS_clean,"test_yaffs_rename_EEXISTS"}, {test_yaffs_rename_ELOOP_dir,test_yaffs_rename_ELOOP_dir_clean,"test_yaffs_rename_ELOOP_dir"}, @@ -383,7 +399,8 @@ test_template test_list[]={ {test_yaffs_lstat_ENOTDIR,test_yaffs_lstat_ENOTDIR_clean,"test_yaffs_lstat_ENOTDIR"}, {test_yaffs_flush,test_yaffs_flush_clean,"test_yaffs_flush"}, - {test_yaffs_flush_EBADF,test_yaffs_flush_EBADF_clean,"test_yaffs_flush_EBADF"} + {test_yaffs_flush_EBADF,test_yaffs_flush_EBADF_clean,"test_yaffs_flush_EBADF"}, + {test_yaffs_flush_EROFS,test_yaffs_flush_EROFS_clean,"test_yaffs_flush_EROFS"} };