From each@isc.org Tue Oct 31 17:25:52 2017 X-RT-Incoming-Encryption: Not encrypted CC: Message-ID: <20171031172551.GA99835@isc.org> Content-Disposition: inline To: "Francis Dupont via RT" X-RT-Interface: Email content-type: text/plain; charset="utf-8" Date: Tue, 31 Oct 2017 17:25:52 +0000 Delivered-To: bind9-public@bugs.isc.org Received: from bikeshed.isc.org (bikeshed.isc.org [149.20.48.19]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (Client CN "mail.isc.org", Issuer "RapidSSL CA" (not verified)) by bugs.isc.org (Postfix) with ESMTPS id 51774D78B0B for ; Tue, 31 Oct 2017 17:25:52 +0000 (UTC) Received: by bikeshed.isc.org (Postfix, from userid 10292) id 06C7D216C1E; Tue, 31 Oct 2017 17:25:52 +0000 (UTC) X-Original-To: bind9-public@bugs.isc.org References: <20171024162131.GB4323@isc.org> MIME-Version: 1.0 Subject: Re: [ISC-Bugs #46389] Fix/Extend testing for dnssec-cds Return-Path: In-Reply-To: From: "Evan Hunt" X-RT-Original-Encoding: utf-8 User-Agent: Mutt/1.5.23 (2014-03-12) RT-Message-ID: Content-Length: 677 > BTW I agree about your proposal to fix conf.sh. > Note that "tput setaf 0" returns 1 too with a black > and white terminal as vt220. I guess something like this would work? diff --git a/bin/tests/system/conf.sh.in b/bin/tests/system/conf.sh.in index ecccbe4..1ce400a 100644 --- a/bin/tests/system/conf.sh.in +++ b/bin/tests/system/conf.sh.in @@ -142,7 +142,7 @@ NZD=@NZD_TOOLS@ # # Set up color-coded test output # -if test -t 1 && type tput > /dev/null 2>&1 ; then +if test -t 1 && type tput > /dev/null 2>&1 && tput sgr0 > /dev/null 2>&1 ; then COLOR_FAIL=`tput setaf 1` # red COLOR_WARN=`tput setaf 3` # yellow COLOR_PASS=`tput setaf 2` # green