Renamed timothy_tests to stress_tests
[yaffs2.git] / direct / test-framework / stress_tests / handle_tests / handle_test.h
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 (file)
index 0000000..35a41e9
--- /dev/null
@@ -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 <timothy@yaffs.net>
+ *
+ * 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 <stdio.h>
+#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