00001 /* -*- c -*- */ 00002 00003 #include <syscall.h> 00004 #include "tests/lib.h" 00005 #include "tests/main.h" 00006 00007 static char buf[TEST_SIZE]; 00008 00009 void 00010 test_main (void) 00011 { 00012 const char *file_name = "blargle"; 00013 CHECK (create (file_name, TEST_SIZE), "create \"%s\"", file_name); 00014 check_file (file_name, buf, TEST_SIZE); 00015 }