X-Git-Url: https://yaffs.net/gitweb/?a=blobdiff_plain;f=direct%2Ftest-framework%2Fstress_tests%2Fhandle_tests%2Fhandle_test.h;fp=direct%2Ftest-framework%2Fstress_tests%2Fhandle_tests%2Fhandle_test.h;h=35a41e9c6d53f7d115a0cc35a107a3e87e546ccc;hb=a51c8b53c1d11f7c4690243c9685a9b337f51127;hp=0000000000000000000000000000000000000000;hpb=566822213e306533d20b3ca38fcadd0d3d8a633f;p=yaffs2.git diff --git a/direct/test-framework/stress_tests/handle_tests/handle_test.h b/direct/test-framework/stress_tests/handle_tests/handle_test.h new file mode 100644 index 0000000..35a41e9 --- /dev/null +++ b/direct/test-framework/stress_tests/handle_tests/handle_test.h @@ -0,0 +1,29 @@ +/* + * YAFFS: Yet another Flash File System . A NAND-flash specific file system. + * + * Copyright (C) 2002-2018 Aleph One Ltd. + * + * Created by Timothy Manning + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License version 2.1 as + * published by the Free Software Foundation. + * + * Note: Only YAFFS headers are LGPL, YAFFS C code is covered by GPL. + */ + +#ifndef __handle_test_h__ +#define __handle_test_h__ + +#include +#include "yaffsfs.h" + +#define YAFFS_MOUNT_POINT "/yflash2/" +#define FILE_PATH "/yflash2/foo" + +int open_close_handle_test(int num_of_tests); +int open_handle(void); +void get_error(void); +int dup_test(void); + +#endif