X-Git-Url: http://aleph1.co.uk/gitweb/?a=blobdiff_plain;f=direct%2Ftimothy_tests%2Fquick_tests%2Fquick_tests.h;h=f17a19cc6abb31aea9a47355303fb4b949819150;hb=24f00634ca4584100b60d7b68675c1c9c4646ee8;hp=dacb276cacafed0b31887503dd343742f684a010;hpb=8d1e14f0254f27ca2b96089a24628548d176944e;p=yaffs2.git diff --git a/direct/timothy_tests/quick_tests/quick_tests.h b/direct/timothy_tests/quick_tests/quick_tests.h index dacb276..f17a19c 100644 --- a/direct/timothy_tests/quick_tests/quick_tests.h +++ b/direct/timothy_tests/quick_tests/quick_tests.h @@ -49,7 +49,7 @@ #include "test_yaffs_ftruncate.h" #include "test_yaffs_ftruncate_EBADF.h" #include "test_yaffs_ftruncate_EINVAL.h" -#include "test_yaffs_ftruncate_EFBIG.h" +#include "test_yaffs_ftruncate_big_file.h" #include "test_yaffs_truncate.h" @@ -57,11 +57,11 @@ #include "test_yaffs_truncate_EISDIR.h" #include "test_yaffs_truncate_ENOENT.h" #include "test_yaffs_truncate_EINVAL.h" -#include "test_yaffs_truncate_EFBIG.h" +#include "test_yaffs_truncate_big_file.h" #include "test_yaffs_write.h" #include "test_yaffs_write_EBADF.h" -#include "test_yaffs_write_EFBIG.h" +#include "test_yaffs_write_big_file.h" #include "test_yaffs_read.h" #include "test_yaffs_read_EBADF.h" @@ -70,7 +70,7 @@ #include "test_yaffs_lseek.h" #include "test_yaffs_lseek_EBADF.h" #include "test_yaffs_lseek_EINVAL.h" -#include "test_yaffs_lseek_EFBIG.h" +#include "test_yaffs_lseek_big_file.h" #include "test_yaffs_access.h" #include "test_yaffs_access_EINVAL.h" @@ -88,10 +88,26 @@ #include "test_yaffs_chmod_ENOENT.h" #include "test_yaffs_chmod_ENOTDIR.h" #include "test_yaffs_chmod_EINVAL.h" -#include "test_yaffs_chmod_EINVAL2.h" + #include "test_yaffs_fchmod.h" #include "test_yaffs_fchmod_EBADF.h" +#include "test_yaffs_fchmod_EINVAL.h" + +#include "test_yaffs_fsync.h" +#include "test_yaffs_fsync_EBADF.h" + +#include "test_yaffs_fdatasync.h" +#include "test_yaffs_fdatasync_EBADF.h" + +#include "test_yaffs_mkdir.h" +#include "test_yaffs_mkdir_EEXIST.h" +#include "test_yaffs_mkdir_ENOTDIR.h" + +#include "test_yaffs_symlink.h" +#include "test_yaffs_symlink_ENOTDIR.h" +#include "test_yaffs_symlink_EEXIST.h" + #include "yaffsfs.h" #include "yaffs_error_converter.h" @@ -146,11 +162,11 @@ 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_EFBIG,test_yaffs_lseek_EFBIG_clean,"test_yaffs_lseek_EFBIG"}, + {test_yaffs_lseek_big_file,test_yaffs_lseek_big_file_clean,"test_yaffs_lseek_big_file"}, {test_yaffs_write,test_yaffs_write_clean,"test_yaffs_write"}, {test_yaffs_write_EBADF,test_yaffs_write_EBADF_clean,"test_yaffs_write_EBADF"}, -// {test_yaffs_write_EFBIG,test_yaffs_write_EFBIG_clean,"test_yaffs_write_EFBIG"}, +// {test_yaffs_write_big_file,test_yaffs_write_big_file_clean,"test_yaffs_write_big_file"}, {test_yaffs_read,test_yaffs_read_clean,"test_yaffs_read"}, {test_yaffs_read_EBADF,test_yaffs_read_EBADF_clean,"test_yaffs_read_EBADF"}, @@ -166,23 +182,40 @@ test_template test_list[]={ {test_yaffs_ftruncate,test_yaffs_ftruncate_clean,"test_yaffs_ftruncate"}, {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_EFBIG,test_yaffs_ftruncate_EFBIG_clean,"test_yaffs_ftruncate_EFBIG"}, + {test_yaffs_ftruncate_big_file,test_yaffs_ftruncate_big_file_clean,"test_yaffs_ftruncate_big_file"}, {test_yaffs_truncate,test_yaffs_truncate_clean,"test_yaffs_truncate"}, {test_yaffs_truncate_ENOTDIR,test_yaffs_truncate_ENOTDIR_clean,"test_yaffs_truncate_ENOTDIR"}, {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_EFBIG,test_yaffs_truncate_EFBIG_clean,"test_yaffs_truncate_EFBIG"}, + {test_yaffs_truncate_big_file,test_yaffs_truncate_big_file_clean,"test_yaffs_truncate_big_file"}, {test_yaffs_chmod,test_yaffs_chmod_clean,"test_yaffs_chmod"}, {test_yaffs_chmod_ENOENT,test_yaffs_chmod_ENOENT_clean,"test_yaffs_chmod_ENOENT"}, {test_yaffs_chmod_ENOTDIR,test_yaffs_chmod_ENOTDIR_clean,"test_yaffs_chmod_ENOTDIR"}, {test_yaffs_chmod_EINVAL,test_yaffs_chmod_EINVAL_clean,"test_yaffs_chmod_EINVAL"}, - {test_yaffs_chmod_EINVAL2,test_yaffs_chmod_EINVAL2_clean,"test_yaffs_chmod_EINVAL2"}, {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_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_fsync,test_yaffs_fsync_clean,"test_yaffs_fsync"}, + {test_yaffs_fsync_EBADF,test_yaffs_fsync_EBADF_clean,"test_yaffs_fsync_EBADF"}, + + {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_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_symlink,test_yaffs_symlink_clean,"test_yaffs_symlink"}, + {test_yaffs_symlink_ENOTDIR,test_yaffs_symlink_ENOTDIR_clean,"test_yaffs_symlink_ENOTDIR"}, + {test_yaffs_symlink_EEXIST,test_yaffs_symlink_EEXIST_clean,"test_yaffs_symlink_EEXIST"} + + + }; void init_quick_tests(int argc, char *argv[]);