]> git.ipfire.org Git - thirdparty/git.git/commit - t/test-lib.sh
test-lib: on FreeBSD, look for unzip(1) in /usr/local/bin/
authorJohannes Schindelin <Johannes.Schindelin@gmx.de>
Thu, 21 Jul 2016 16:02:54 +0000 (18:02 +0200)
committerJunio C Hamano <gitster@pobox.com>
Fri, 27 Jan 2017 18:55:26 +0000 (10:55 -0800)
commitd98b2c5fce0ae4ee3fbe34037798460d59e28432
treed656e3be7ee8c38569accc189fd36ae0cd7f1b3f
parentad36dc8b4b165bf9eb3576b42a241164e312d48c
test-lib: on FreeBSD, look for unzip(1) in /usr/local/bin/

Eric Wong reported that while FreeBSD has a /usr/bin/unzip, it uses
different semantics from those that are needed by Git's tests: When
passing the -a option to Info-Zip, it heeds the text attribute of the
.zip file's central directory, while FreeBSD's unzip ignores that
attribute.

The common work-around is to install Info-Zip on FreeBSD, into
/usr/local/bin/.

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Tested-by: Eric Wong <e@80x24.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/test-lib.sh