Received: from eggs.gnu.org ([2001:4830:134:3::10]:40877) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bhLNH-0005BR-UR for qemu-devel@nongnu.org; Tue, 06 Sep 2016 14:45:37 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bhLNC-0008HH-Si for qemu-devel@nongnu.org; Tue, 06 Sep 2016 14:45:35 -0400 Received: from mx0a-001b2d01.pphosted.com ([148.163.156.1]:58296) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bhLNC-0008G8-Ef for qemu-devel@nongnu.org; Tue, 06 Sep 2016 14:45:30 -0400 Received: from pps.filterd (m0098404.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.16.0.17/8.16.0.17) with SMTP id u86IhLwd086363 for ; Tue, 6 Sep 2016 14:45:29 -0400 Received: from e06smtp06.uk.ibm.com (e06smtp06.uk.ibm.com [195.75.94.102]) by mx0a-001b2d01.pphosted.com with ESMTP id 25a0y6fmr7-1 (version=TLSv1.2 cipher=AES256-SHA bits=256 verify=NOT) for ; Tue, 06 Sep 2016 14:45:28 -0400 Received: from localhost by e06smtp06.uk.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Tue, 6 Sep 2016 19:45:26 +0100 Received: from b06cxnps4075.portsmouth.uk.ibm.com (d06relay12.portsmouth.uk.ibm.com [9.149.109.197]) by d06dlp03.portsmouth.uk.ibm.com (Postfix) with ESMTP id EA7281B08023 for ; Tue, 6 Sep 2016 19:47:08 +0100 (BST) Received: from d06av06.portsmouth.uk.ibm.com (d06av06.portsmouth.uk.ibm.com [9.149.37.217]) by b06cxnps4075.portsmouth.uk.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id u86IjNjY6685124 for ; Tue, 6 Sep 2016 18:45:23 GMT Received: from d06av06.portsmouth.uk.ibm.com (localhost [127.0.0.1]) by d06av06.portsmouth.uk.ibm.com (8.14.4/8.14.4/NCO v10.0 AVout) with ESMTP id u86IjNw0024352 for ; Tue, 6 Sep 2016 14:45:23 -0400 From: Sascha Silbe In-Reply-To: <20160906014751.GC653@al.usersys.redhat.com> References: <1472063464-790-1-git-send-email-silbe@linux.vnet.ibm.com> <1472063464-790-4-git-send-email-silbe@linux.vnet.ibm.com> <20160906014751.GC653@al.usersys.redhat.com> Date: Tue, 06 Sep 2016 20:45:23 +0200 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Message-Id: <87d1kghnp8.fsf@oc4731375738.ibm.com> Subject: Re: [Qemu-devel] [PATCH v2 3/7] docker: debian-bootstrap.pre: print helpful message if DEB_ARCH/DEB_TYPE unset List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Fam Zheng Cc: Alex =?utf-8?Q?Benn=C3=A9e?= , qemu-devel@nongnu.org Dear Fam, Fam Zheng writes: [tests/docker/dockerfiles/debian-bootstrap.pre] [...] >> +if [ -z "${DEB_ARCH}" ]; then >> + echo "Please set DEB_ARCH to choose an architecture (e.g. armhf)" >> + exit_and_skip >> + >> +fi >> + >> +if [ -z "${DEB_TYPE}" ]; then >> + echo "Please set DEB_TYPE to a Debian archive name (e.g. testing)" >> + exit_and_skip >> + > > Can you also update the three 'echo' commands to output the message to st= derr? I've updated my patch to send output to stderr and added a new patch that fixes up the existing messages that are "fatal" (i.e. those directly prior to an exit_and_skip). Sascha --=20 Softwareentwicklung Sascha Silbe, Niederhofenstra=C3=9Fe 5/1, 71229 Leonberg https://se-silbe.de/ USt-IdNr. DE281696641