Re: [PATCH] test-lib: stricter unzip(1) check
- From
Jeff King <peff@peff.net>
- Date
- Jul 18, 2016, 18:56 UTC
- Message-ID
- <20160718185634.GA24726@sigill.intra.peff.net>
- In-Reply-To
- <xmqqtwfmkduk.fsf@gitster.mtv.corp.google.com>
On Mon, Jul 18, 2016 at 11:20:19AM -0700, Junio C Hamano wrote:
> Stepping back a bit, why do we even care if "unzip -a" works on > "../$zipfile" and converts things correctly in that check_zip() test > in t5003 in the first place? It looks more like a test on "unzip" > than making sure we correctly generate a zip archive to me...
I think it is testing that we generated an archive with the correct "I am text" flags so that an unzip implementation can do the auto-conversion.
-Peff