Received: by mail.netbsd.org (Postfix, from userid 605) id 08CEC84D6A; Tue, 25 Jul 2017 21:25:05 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.netbsd.org (Postfix) with ESMTP id 85A7D84D49 for ; Tue, 25 Jul 2017 21:25:04 +0000 (UTC) X-Virus-Scanned: amavisd-new at netbsd.org Received: from mail.netbsd.org ([127.0.0.1]) by localhost (mail.netbsd.org [127.0.0.1]) (amavisd-new, port 10025) with ESMTP id 9OyyHQMdR35a for ; Tue, 25 Jul 2017 21:25:04 +0000 (UTC) Received: from cvs.NetBSD.org (ivanova.netbsd.org [199.233.217.197]) by mail.netbsd.org (Postfix) with ESMTP id 1CAB984D6D for ; Tue, 25 Jul 2017 21:25:04 +0000 (UTC) Received: by cvs.NetBSD.org (Postfix, from userid 500) id 06C20FACD; Tue, 25 Jul 2017 21:25:04 +0000 (UTC) Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII" MIME-Version: 1.0 Date: Tue, 25 Jul 2017 21:25:04 +0000 From: "Robert Elz" Subject: CVS commit: src/tests/usr.bin/mixerctl To: source-changes@NetBSD.org X-Mailer: log_accum Message-Id: <20170725212504.06C20FACD@cvs.NetBSD.org> Sender: source-changes-owner@NetBSD.org List-Id: source-changes.NetBSD.org Precedence: bulk Reply-To: source-changes-d@NetBSD.org Mail-Reply-To: "Robert Elz" Mail-Followup-To: source-changes-d@NetBSD.org List-Unsubscribe: Module Name: src Committed By: kre Date: Tue Jul 25 21:25:03 UTC 2017 Modified Files: src/tests/usr.bin/mixerctl: t_mixerctl.sh Log Message: Correct oversight in previous ... redirecting into a compound statement causes the shell to exit if the redirect fails (posix says "may exit" and /bin/sh does - maybe should give that more thought) - which will happen if /dev/pad0 does not exist, causing a very messy test abort (the shell running the test is not supposed to just go away). So check tha the device exista and is readable before attempting to open it. Problem brought to my attention by nat@ - thanks... To generate a diff of this commit: cvs rdiff -u -r1.8 -r1.9 src/tests/usr.bin/mixerctl/t_mixerctl.sh Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.