15 lines
290 B
C
Executable file
15 lines
290 B
C
Executable file
/* -*- c -*- */
|
|
|
|
#include <syscall.h>
|
|
#include "tests/lib.h"
|
|
#include "tests/main.h"
|
|
|
|
static char buf[TEST_SIZE];
|
|
|
|
void
|
|
test_main (void)
|
|
{
|
|
const char *file_name = "blargle";
|
|
CHECK (create (file_name, TEST_SIZE), "create \"%s\"", file_name);
|
|
check_file (file_name, buf, TEST_SIZE);
|
|
}
|