pintos/src/tests/filesys/seq-test.c File Reference

#include "tests/filesys/seq-test.h"
#include <random.h>
#include <syscall.h>
#include "tests/lib.h"

Go to the source code of this file.

Functions

void seq_test (const char *file_name, void *buf, size_t size, size_t initial_size, size_t(*block_size_func)(void), void(*check_func)(int fd, long ofs))


Function Documentation

void seq_test ( const char *  file_name,
void *  buf,
size_t  size,
size_t  initial_size,
size_t(*)(void)  block_size_func,
void(*)(int fd, long ofs)  check_func 
)

Definition at line 7 of file seq-test.c.

References block_size(), CHECK, check_file(), close(), create(), fail(), msg(), NULL, open(), random_bytes(), and write().

Referenced by test_main().


Generated on Mon Jan 10 16:43:58 2011 for Pintos by  doxygen 1.5.6