]>
Commit | Line | Data |
---|---|---|
fe8ab488 A |
1 | #ifndef __TEST_FILE_HELPER_H_ |
2 | #define __TEST_FILE_HELPER_H_ | |
3 | ||
4 | #define MAXFILESIZE 8589934592L | |
5 | ||
6 | char* setup_tempdir(); | |
7 | int cleanup_tempdir(); | |
8 | int test_file_create(char* path, int thread_id, int num_threads, long long length); | |
9 | int test_file_read_setup(char* path, int num_threads, long long length, long long max_file_size); | |
10 | int test_file_read(char* path, int thread_id, int num_threads, long long length, long long max_file_size); | |
11 | int test_file_read_cleanup(char* path, int num_threads, long long length); | |
12 | int test_file_write_setup(char* path, int num_threads, long long length); | |
13 | int test_file_write(char* path, int thread_id, int num_threads, long long length, long long max_file_size); | |
14 | int test_file_write_cleanup(char* path, int num_threads, long long length); | |
15 | ||
16 | #endif |