From: Andre Noll Date: Fri, 17 Jan 2014 01:27:14 +0000 (+0100) Subject: test-lib: Make colors work on FreeBSD. X-Git-Tag: v0.5.3~21^2 X-Git-Url: http://git.tuebingen.mpg.de/?a=commitdiff_plain;h=2197a21a857c39f976f852612be62a637c688a2e;hp=2197a21a857c39f976f852612be62a637c688a2e;p=paraslash.git test-lib: Make colors work on FreeBSD. Some implementations of tput don't accept capnames (bold, setaf, sgr0) but only the older termcap capability names (md, AF, me). This patch teaches test-lib.sh to try both variants and succeed if either variant works. ---