Merge branch 'master' of ssh://www.aleph1.co.uk/home/aleph1/git/yaffs2
[yaffs2.git] / direct / timothy_tests / mirror_tests / mirror_tests.h
index cac477cd0c9fb17a2440b49adbc8138efd9864e0..cf4bb8e74434b6f5b0b15ed7c8d62041444766e1 100644 (file)
@@ -24,7 +24,7 @@
 #include "yaffsfs.h"
 #include "lib.h"
 #include <time.h>
-
+#include <sys/stat.h>
 
 #include "linux_test_open.h"
 #include "yaffs_test_open.h"
 
 void init(int argc, char *argv[]);
 int run_random_test(int num_of_random_tests);
-int compare_linux_and_yaffs(void);
-void get_error_yaffs(void);
-void get_error_linux(void);
+int compare_linux_and_yaffs(arg_temp *args_struct);
+
 int select_test_id(int test_len);
 void generate_random_numbers(arg_temp *args_struct);
 void run_yaffs_test(int id,arg_temp *args_struct);
 void run_linux_test(int id,arg_temp *args_struct);
 void clean_dir(void);
+int select_test_id(int test_len);
+int check_mode(arg_temp *args_struct);
+int check_mode_file(char *path);
 //void generate_array_of_objects_in_yaffs(void); 
 //void generate_array_of_objects_in_linux(void);