X-Git-Url: http://www.aleph1.co.uk/gitweb/?p=yaffs2.git;a=blobdiff_plain;f=direct%2Ftimothy_tests%2Fquick_tests%2Flib.h;h=f24e3aaf22edd62b21b78a1e6a281f81e728d938;hp=d52b97499e720f713e1fb7f535052232ef75a544;hb=f1fdae08ffdfaa5d1a31b9c4303dc317fe95ded4;hpb=f3b2098d2fde2c023ad8f84484d647b16e4c5f0f diff --git a/direct/timothy_tests/quick_tests/lib.h b/direct/timothy_tests/quick_tests/lib.h index d52b974..f24e3aa 100644 --- a/direct/timothy_tests/quick_tests/lib.h +++ b/direct/timothy_tests/quick_tests/lib.h @@ -18,8 +18,11 @@ #include #include +#include "yaffsfs.h" +#define ELOOP 10 //the error code ELOOP is not defined yet so I'm making a stand in. + #define YAFFS_MOUNT_POINT "/yaffs2/" #define FILE_NAME "foo" @@ -30,7 +33,7 @@ #define FILE_TEXT "file foo " /* keep space at end of string */ #define FILE_TEXT_NBYTES 10 -#define DIR_PATH "/yaffs2/new_directory/" +#define DIR_PATH "/yaffs2/new_directory" #define SYMLINK_PATH "/yaffs2/sym_foo" @@ -42,7 +45,8 @@ #define RENAME_DIR_PATH "/yaffs2/dir2" - +#define ELOOP_PATH "/yaffs2/ELOOP" +#define ELOOP2_PATH "/yaffs2/ELOOP2" /* warning do not define anything as FILE because there seems to be a conflict with stdio.h */ #define FILE_PATH "/yaffs2/foo" @@ -52,4 +56,5 @@ void print_message(char *message,char print_level); void set_print_level(int new_level); void set_exit_on_error(int num); int get_exit_on_error(void); +int set_up_ELOOP(void); #endif