[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [FYI] {master} tests: avoid wrong skips in dist-formats.tap
From: |
Peter Rosin |
Subject: |
Re: [FYI] {master} tests: avoid wrong skips in dist-formats.tap |
Date: |
Fri, 10 Feb 2012 08:39:20 +0100 |
User-agent: |
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:9.0) Gecko/20111222 Thunderbird/9.0.1 |
Stefano Lattarini skrev 2012-02-09 19:50:
> * tests/dist-formats.tap: The test checking whether the 'compress'
> program is actually capable of compressing files relied on the
> assumption that 'compress' exits with status zero if no problem
> occurs; alas, this reasonable assumption doesn't hold in practice,
> since 'compress' does (and is documented to) exit with status 2 if
> the output is larger than the input after (attempted) compression!
> Fix this by using and input that 'compress' can actually reduce in
> size when compressing.
Ooops, sorry, and thanks for tidying up!
Cheers,
Peter