void test_main(void)
tests/main.h
static char buf[76543]
Tests that seeking past the end of a file and writing will properly zero out the region in between.
bool create(const char *file, unsigned initial_size)
int open(const char *file)
int write(int fd, const void *buffer, unsigned size)
void seek(int fd, unsigned position)
void check_file(const char *file_name, const void *buf, size_t size)
void msg(const char *format,...)
#define CHECK(SUCCESS,...)
Takes an expression to test for SUCCESS and a message, which may include printf-style arguments.
static const char file_name[]
tests/filesys/base/syn-read.h