6 const char test_name[] = "grow-sparse";
7 static char buf[76543];
16 check (create ("testfile", 0), "create \"testfile\"");
17 check ((fd = open ("testfile")) > 1, "open \"testfile\"");
18 msg ("seek \"testfile\"");
19 seek (fd, sizeof buf - 1);
20 check (write (fd, &zero, 1) > 0, "write \"testfile\"");
21 msg ("close \"testfile\"");
23 check_file ("testfile", buf, sizeof buf);