Received: from mail.netbsd.org (mail.netbsd.org [199.233.217.200]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (Client CN "mail.NetBSD.org", Issuer "mail.NetBSD.org CA" (not verified)) by mollari.NetBSD.org (Postfix) with ESMTPS id 8B6AE1A923A for ; Sat, 2 Jan 2021 19:22:44 +0000 (UTC) Received: by mail.netbsd.org (Postfix, from userid 605) id 3DA5784D6D; Sat, 2 Jan 2021 19:22:44 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.netbsd.org (Postfix) with ESMTP id 7008084D6B for ; Sat, 2 Jan 2021 19:22:43 +0000 (UTC) X-Virus-Scanned: amavisd-new at netbsd.org Received: from mail.netbsd.org ([IPv6:::1]) by localhost (mail.netbsd.org [IPv6:::1]) (amavisd-new, port 10025) with ESMTP id ibLrjimycDu7 for ; Sat, 2 Jan 2021 19:22:43 +0000 (UTC) Received: from cvs.NetBSD.org (ivanova.NetBSD.org [IPv6:2001:470:a085:999:28c:faff:fe03:5984]) by mail.netbsd.org (Postfix) with ESMTP id 0AA2684D69 for ; Sat, 2 Jan 2021 19:22:43 +0000 (UTC) Received: by cvs.NetBSD.org (Postfix, from userid 500) id ECF0FFA9D; Sat, 2 Jan 2021 19:22:42 +0000 (UTC) Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII" MIME-Version: 1.0 Date: Sat, 2 Jan 2021 19:22:42 +0000 From: "Roland Illig" Subject: CVS commit: src/tests/usr.bin/xlint/lint1 To: source-changes@NetBSD.org X-Mailer: log_accum Message-Id: <20210102192242.ECF0FFA9D@cvs.NetBSD.org> Sender: source-changes-owner@NetBSD.org List-Id: Precedence: bulk Reply-To: source-changes-d@NetBSD.org Mail-Reply-To: "Roland Illig" Mail-Followup-To: source-changes-d@NetBSD.org List-Unsubscribe: Module Name: src Committed By: rillig Date: Sat Jan 2 19:22:42 UTC 2021 Modified Files: src/tests/usr.bin/xlint/lint1: t_integration.sh Log Message: lint: fix integration test The body of an ATF test must never return 1 but instead report failure via atf_fail. Otherwise the following error message appears: Failed: Test case body returned a non-ok exit code, but this is not allowed The test program t_integration intentionally bypasses the official ATF API for performance reasons. But even then, it should stick to the API as close as possible. To generate a diff of this commit: cvs rdiff -u -r1.19 -r1.20 src/tests/usr.bin/xlint/lint1/t_integration.sh Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.