From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 13F45138454 for ; Fri, 11 Sep 2015 07:54:06 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 242D721C043; Fri, 11 Sep 2015 07:53:36 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 6E8DC21C043 for ; Fri, 11 Sep 2015 07:53:30 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id B1371340ABC for ; Fri, 11 Sep 2015 07:53:29 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 6DE281FD for ; Fri, 11 Sep 2015 07:53:28 +0000 (UTC) From: "Mike Frysinger" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Mike Frysinger" Message-ID: <1441954037.3559ba4b30934da041801f1a150fd28d2d64002c.vapier@gentoo> Subject: [gentoo-commits] proj/sandbox:master commit in: tests/ X-VCS-Repository: proj/sandbox X-VCS-Files: tests/atlocal.in X-VCS-Directories: tests/ X-VCS-Committer: vapier X-VCS-Committer-Name: Mike Frysinger X-VCS-Revision: 3559ba4b30934da041801f1a150fd28d2d64002c X-VCS-Branch: master Date: Fri, 11 Sep 2015 07:53:28 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 3b385f2a-f311-482a-8b81-edc703bd716e X-Archives-Hash: e363af1f26c1f3f3ffa04dcda0cd7423 commit: 3559ba4b30934da041801f1a150fd28d2d64002c Author: Mike Frysinger gentoo org> AuthorDate: Fri Sep 11 06:47:17 2015 +0000 Commit: Mike Frysinger gentoo org> CommitDate: Fri Sep 11 06:47:17 2015 +0000 URL: https://gitweb.gentoo.org/proj/sandbox.git/commit/?id=3559ba4b tests: make sure we ignore stty exit status If the stty step fails (for any reason really), the main testrunner will abort with a weird error message: $ make check ... /bin/sh './testsuite' AUTOTEST_PATH='src:tests' --jobs=`getconf _NPROCESSORS_ONLN || echo 1` testsuite: error: invalid content: atlocal ... Make sure we ignore stty's exit status, and we put a final comment/$? reset at the end of the script. Signed-off-by: Mike Frysinger gentoo.org> tests/atlocal.in | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/tests/atlocal.in b/tests/atlocal.in index 8435f61..b9a631b 100644 --- a/tests/atlocal.in +++ b/tests/atlocal.in @@ -21,4 +21,7 @@ fi export SANDBOX_VERBOSE=0 # If the terminal has this flag set, the tests get all messed up. -stty -tostop 2>/dev/null +stty -tostop 2>/dev/null || : + +# This script must finish with ($? == 0) else the autotest runner gets upset. +: