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=a11386d255070e1a1f6e7d77d7380ffb640196d2;hp=3d5dc6ab166422cebcde03320f6677927c6b6c6f;hb=4adb62b1e4338eaa34d02fdcb0c5d99cebea6747;hpb=e0b53924703fe414a99dbf49682cf8459540a3e5 diff --git a/direct/timothy_tests/quick_tests/quick_tests.h b/direct/timothy_tests/quick_tests/quick_tests.h index 3d5dc6a..a11386d 100644 --- a/direct/timothy_tests/quick_tests/quick_tests.h +++ b/direct/timothy_tests/quick_tests/quick_tests.h @@ -24,6 +24,9 @@ #include "test_yaffs_mount_EBUSY.h" #include "test_yaffs_unmount.h" +#include "test_yaffs_unmount_ENOENT.h" +#include "test_yaffs_unmount_ENAMETOOLONG.h" +#include "test_yaffs_unmount_EBUSY.h" #include "test_yaffs_open.h" #include "test_yaffs_open_EISDIR.h" @@ -49,6 +52,7 @@ #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" @@ -57,8 +61,17 @@ #include "test_yaffs_truncate_EFBIG.h" #include "test_yaffs_write.h" +#include "test_yaffs_write_EBADF.h" +#include "test_yaffs_write_EFBIG.h" + #include "test_yaffs_read.h" +#include "test_yaffs_read_EBADF.h" +#include "test_yaffs_read_EINVAL.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" @@ -66,6 +79,12 @@ #include "test_yaffs_access_ENOENT.h" #include "test_yaffs_stat.h" +#include "test_yaffs_stat_ENOENT.h" +#include "test_yaffs_stat_ENOTDIR.h" + +#include "test_yaffs_fstat.h" +#include "test_yaffs_fstat_EBADF.h" + #include "yaffsfs.h" #include "yaffs_error_converter.h" #include "lib.h" @@ -84,11 +103,14 @@ 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"}, + {test_yaffs_unmount_ENOENT,test_yaffs_unmount_ENOENT_clean,"test_yaffs_unmount_ENOENT"}, + {test_yaffs_unmount_ENAMETOOLONG,test_yaffs_unmount_ENAMETOOLONG_clean,"test_yaffs_unmount_ENAMETOOLONG"}, + {test_yaffs_unmount_EBUSY,test_yaffs_unmount_EBUSY_clean,"test_yaffs_unmount_EBUSY"}, {test_yaffs_open,test_yaffs_open_clean,"test_yaffs_open"}, {test_yaffs_open_EISDIR,test_yaffs_open_EISDIR_clean,"test_yaffs_open_EISDIR"}, @@ -115,11 +137,24 @@ 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_write,test_yaffs_write_clean,"test_yaffs_write"}, - {test_yaffs_read,test_yaffs_read_clean,"test_yaffs_read"}, + {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_read,test_yaffs_read_clean,"test_yaffs_read"}, + {test_yaffs_read_EBADF,test_yaffs_read_EBADF_clean,"test_yaffs_read_EBADF"}, + {test_yaffs_read_EINVAL,test_yaffs_read_EINVAL_clean,"test_yaffs_read_EINVAL"}, {test_yaffs_stat,test_yaffs_stat_clean,"test_yaffs_stat"}, + {test_yaffs_stat_ENOENT,test_yaffs_stat_ENOENT_clean,"test_yaffs_stat_ENOENT"}, + {test_yaffs_stat_ENOTDIR,test_yaffs_stat_ENOTDIR_clean,"test_yaffs_stat_ENOTDIR"}, + + {test_yaffs_fstat,test_yaffs_fstat_clean,"test_yaffs_fstat"}, + {test_yaffs_fstat_EBADF,test_yaffs_fstat_EBADF_clean,"test_yaffs_fstat_EBADF"}, {test_yaffs_ftruncate,test_yaffs_ftruncate_clean,"test_yaffs_ftruncate"}, {test_yaffs_ftruncate_EBADF,test_yaffs_ftruncate_EBADF_clean,"test_yaffs_ftruncate_EBADF"},