const char test_name[] = "grow-sparse";
static char buf[76543];
-int
-main (void)
+void
+test_main (void)
{
char zero = 0;
int fd;
- msg ("begin");
check (create ("testfile", 0), "create \"testfile\"");
check ((fd = open ("testfile")) > 1, "open \"testfile\"");
msg ("seek \"testfile\"");
msg ("close \"testfile\"");
close (fd);
check_file ("testfile", buf, sizeof buf);
- msg ("end");
- return 0;
}