1 /* Checks that trying to grow a file beyond the capacity of the
2 file system behaves reasonably (does not crash). */
7 #include "tests/main.h"
12 const char *file_name = "fumble";
16 CHECK (create (file_name, 0), "create \"%s\"", file_name);
17 CHECK ((fd = open (file_name)) > 1, "open \"%s\"", file_name);
18 msg ("seek \"%s\"", file_name);
20 msg ("write \"%s\"", file_name);
22 msg ("close \"%s\"", file_name);