[2/2][tools]winetest: fix filesize limit

André Hentschel nerv at dawncrow.de
Sat Dec 19 12:38:24 CST 2009

Paul Vriens schrieb:
> Hi André,
> On 12/19/2009 06:01 PM, André Hentschel wrote:
>>   if (defined $dll) {
> We should only get here if we've received a start of a test but not the
> end.
>>       # Either winetest crashed or the report file was cut off
>>       $_="";
>> -    if ($filesize == $maxfilesize) {
>> +    if ($filesize>  $maxfilesize) {
> This can never happen as $maxfilesize is where it is cut off. The whole
> reason for this check is to decide whether we have a crash or "just" a
> file limit reached. If the size of the file is the maximum and we didn't
> get an end for the test we can assume it has been cut off at the sender.
Hi Paul,
thx, didnt looked close enough :)
So my first patch is the more important, as it makes it cut off at maxfilesize.


Best Regards, André Hentschel

More information about the wine-devel mailing list