bug-tar
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Bug-tar] sparse05.at with low disk space causes all later tests to


From: Sergey Poznyakoff
Subject: Re: [Bug-tar] sparse05.at with low disk space causes all later tests to fail
Date: Mon, 21 Mar 2016 17:34:07 +0200

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

[Prev in Thread] Current Thread [Next in Thread]