29#define CHECK(SUCCESS, ...) \
38void shuffle (
void *,
size_t cnt,
size_t size);
47void compare_bytes (
const void *read_data,
const void *expected_data,
48 size_t size,
size_t ofs,
const char *
file_name);
static char buf[BUF_SIZE]
#define PRINTF_FORMAT(FMT, FIRST)
int pid_t
Process identifier.
void shuffle(void *, size_t cnt, size_t size)
void void fail(const char *,...) PRINTF_FORMAT(1
void check_file(const char *file_name, const void *buf, size_t filesize)
void check_file_handle(int fd, const char *file_name, const void *buf_, size_t filesize)
const char * test_name
Child process for syn-read test.
void compare_bytes(const void *read_data, const void *expected_data, size_t size, size_t ofs, const char *file_name)
test/lib.h
void wait_children(pid_t pids[], size_t child_cnt)
void exec_children(const char *child_name, pid_t pids[], size_t child_cnt)
void msg(const char *,...) PRINTF_FORMAT(1
static const char file_name[]
tests/filesys/base/syn-read.h