2 * YAFFS: Yet another Flash File System . A NAND-flash specific file system.
4 * Copyright (C) 2002-2010 Aleph One Ltd.
5 * for Toby Churchill Ltd and Brightstar Engineering
7 * Created by Timothy Manning <timothy@yaffs.net>
9 * This program is free software; you can redistribute it and/or modify
10 * it under the terms of the GNU Lesser General Public License version 2.1 as
11 * published by the Free Software Foundation.
13 * Note: Only YAFFS headers are LGPL, YAFFS C code is covered by GPL.
16 #ifndef __mirror_tests_h__
17 #define __mirror_tests_h__
20 #include <unistd.h> //used for getting the current directory.
26 #include "linux_test_open.h"
27 #include "yaffs_test_open.h"
37 void init(int argc, char *argv[]);
38 int run_random_test(void);
39 int compare_linux_and_yaffs(void);
40 void get_error_yaffs(void);
41 int select_test_id(int test_len);
42 void generate_random_numbers(arg_temp *args_struct);
43 void run_yaffs_test(int id,arg_temp *args_struct);
44 void run_linux_test(int id,arg_temp *args_struct);
45 //void generate_array_of_objects_in_yaffs(void);
46 //void generate_array_of_objects_in_linux(void);