8 extern const char test_name[];
11 void msg (const char *, ...) PRINTF_FORMAT (1, 2);
12 void fail (const char *, ...) PRINTF_FORMAT (1, 2) NO_RETURN;
14 #define check(SUCCESS, ...) \
23 void shuffle (void *, size_t cnt, size_t size);
25 void seq_test (const char *filename,
26 void *buf, size_t size, size_t initial_size,
27 size_t (*block_size_func) (void),
28 void (*check_func) (int fd, long ofs));
30 void check_file (const char *filename, const void *buf, size_t filesize);
32 void compare_bytes (const void *read_data, const void *expected_data,
33 size_t size, size_t ofs, const char *filename);
35 void test_main (void);