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