Hi Nathan,

> I see that when the test is able to run successfully, BIGFILE's real
> size is 9.76+ GiB ... and when it fails it can easily take more than 10
> minutes to fill up the partition before aborting.  So I wonder if there
> is any (portable) way to have the test check for free space right at the
> start, and SKIP without trying to create BIGFILE if there's isn't
> enough?

There's hardly any.  The only solution I can think of is to have genfile
remove the file before exiting, if it got errno==ENOSPC when trying to
write. 

Regards,
Sergey

Reply via email to