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=d05167bfed437c667f571f0e2444f847e7786b08;hp=8360e85ac718f91515482daaa091a515bdc0765c;hb=22f31a41cbb9a08e67204279fb3b37e400309f1c;hpb=559fc3d004f76e506ecb5e7efe56fdb5cceed943 diff --git a/direct/timothy_tests/quick_tests/quick_tests.h b/direct/timothy_tests/quick_tests/quick_tests.h index 8360e85..d05167b 100644 --- a/direct/timothy_tests/quick_tests/quick_tests.h +++ b/direct/timothy_tests/quick_tests/quick_tests.h @@ -20,6 +20,8 @@ #include "test_yaffs_mount.h" #include "test_yaffs_mount_ENODEV.h" #include "test_yaffs_mount_ENAMETOOLONG.h" +#include "test_yaffs_mount_ENOENT.h" +#include "test_yaffs_mount_EBUSY.h" #include "test_yaffs_unmount.h" @@ -29,6 +31,8 @@ #include "test_yaffs_open_ENOENT.h" #include "test_yaffs_open_ENOTDIR.h" #include "test_yaffs_open_ENAMETOOLONG.h" +#include "test_yaffs_open_EINVAL.h" +#include "test_yaffs_open_EINVAL2.h" #include "test_yaffs_close_EBADF.h" @@ -38,13 +42,34 @@ #include "test_yaffs_unlink_ENOENT.h" #include "test_yaffs_unlink_ENAMETOOLONG.h" #include "test_yaffs_unlink_ENOTDIR.h" +#include "test_yaffs_unlink_ENOENT.h" #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_truncate.h" +#include "test_yaffs_truncate_ENOTDIR.h" +#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_write.h" #include "test_yaffs_read.h" + #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_access.h" +#include "test_yaffs_access_EINVAL.h" +#include "test_yaffs_access_ENOTDIR.h" +#include "test_yaffs_access_ENOENT.h" + #include "test_yaffs_stat.h" #include "yaffsfs.h" #include "yaffs_error_converter.h" @@ -64,7 +89,9 @@ typedef struct test { test_template test_list[]={ {test_yaffs_mount,test_yaffs_mount_clean,"test_yaffs_mount"}, {test_yaffs_mount_ENODEV,test_yaffs_mount_ENODEV_clean,"test_yaffs_mount_ENODEV"}, - {test_yaffs_mount_ENAMETOOLONG,test_yaffs_mount_ENAMETOOLONG_clean,"test_yaffs_mount_ENAMETOOLONG"}, +// {test_yaffs_mount_ENAMETOOLONG,test_yaffs_mount_ENAMETOOLONG_clean,"test_yaffs_mount_ENAMETOOLONG"}, + {test_yaffs_mount_ENOENT,test_yaffs_mount_ENOENT_clean,"test_yaffs_mount_ENOENT"}, + {test_yaffs_mount_EBUSY,test_yaffs_mount_EBUSY_clean,"test_yaffs_mount_EBUSY"}, {test_yaffs_unmount,test_yaffs_unmount_clean,"test_yaffs_unmount"}, @@ -74,27 +101,46 @@ test_template test_list[]={ {test_yaffs_open_ENOTDIR,test_yaffs_open_ENOTDIR_clean,"test_yaffs_open_ENOTDIR"}, {test_yaffs_open_ENOENT,test_yaffs_open_ENOENT_clean,"test_yaffs_open_ENOENT"}, {test_yaffs_open_ENAMETOOLONG,test_yaffs_open_ENAMETOOLONG_clean,"test_yaffs_open_ENAMETOOLONG"}, + {test_yaffs_open_EINVAL,test_yaffs_open_EINVAL_clean,"test_yaffs_open_EINVAL"}, + {test_yaffs_open_EINVAL2,test_yaffs_open_EINVAL2_clean,"test_yaffs_open_EINVAL2"}, {test_yaffs_close_EBADF,test_yaffs_close_EBADF_clean,"test_yaffs_close_EBADF"}, {test_yaffs_access,test_yaffs_access_clean,"test_yaffs_access"}, + {test_yaffs_access_EINVAL,test_yaffs_access_EINVAL_clean,"test_yaffs_access_EINVAL"}, + {test_yaffs_access_ENOTDIR,test_yaffs_access_ENOTDIR_clean,"test_yaffs_access_ENOTDIR"}, + {test_yaffs_access_ENOENT,test_yaffs_access_ENOENT_clean,"test_yaffs_access_ENOENT"}, {test_yaffs_unlink, test_yaffs_unlink_clean,"test_yaffs_unlink"}, {test_yaffs_unlink_EISDIR,test_yaffs_unlink_EISDIR_clean,"test_yaffs_unlink_EISDIR"}, {test_yaffs_unlink_ENOENT,test_yaffs_unlink_ENOENT_clean,"test_yaffs_unlink_ENOENT"}, {test_yaffs_unlink_ENAMETOOLONG,test_yaffs_unlink_ENAMETOOLONG_clean,"test_yaffs_unlink_ENAMETOOLONG"}, {test_yaffs_unlink_ENOTDIR,test_yaffs_unlink_ENOTDIR_clean,"test_yaffs_unlink_ENOTDIR"}, + {test_yaffs_unlink_ENOENT,test_yaffs_unlink_ENOENT_clean,"test_yaffs_unlink_ENOENT"}, {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_write,test_yaffs_write_clean,"test_yaffs_write"}, {test_yaffs_read,test_yaffs_read_clean,"test_yaffs_read"}, {test_yaffs_stat,test_yaffs_stat_clean,"test_yaffs_stat"}, - {test_yaffs_ftruncate,test_yaffs_ftruncate_clean,"test_yaffs_ftruncate"}, - {test_yaffs_truncate,test_yaffs_truncate_clean,"test_yaffs_truncate"} + {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_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"} }; void init_quick_tests(void);