Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/tests/usr.bin/mixerctl Compensate for changes made in mixerc...



details:   https://anonhg.NetBSD.org/src/rev/d51f91de0e9f
branches:  trunk
changeset: 1027738:d51f91de0e9f
user:      kre <kre%NetBSD.org@localhost>
date:      Sat Dec 18 10:50:48 2021 +0000

description:
Compensate for changes made in mixerctl.c rev 1.29
Usage msg now appears on stderr, and causes exit status to be 1

diffstat:

 tests/usr.bin/mixerctl/t_mixerctl.sh |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r 1be088bc5a90 -r d51f91de0e9f tests/usr.bin/mixerctl/t_mixerctl.sh
--- a/tests/usr.bin/mixerctl/t_mixerctl.sh      Fri Dec 17 19:27:57 2021 +0000
+++ b/tests/usr.bin/mixerctl/t_mixerctl.sh      Sat Dec 18 10:50:48 2021 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: t_mixerctl.sh,v 1.10 2017/07/25 22:28:22 kre Exp $
+# $NetBSD: t_mixerctl.sh,v 1.11 2021/12/18 10:50:48 kre Exp $
 
 audio_setup() {
        # Open /dev/pad0 so we have a configured audio device.
@@ -35,7 +35,7 @@
 noargs_usage_body() {
        audio_setup
 
-       atf_check -s exit:0 -o not-empty -e ignore \
+       atf_check -s exit:1 -o empty -e not-empty \
                mixerctl
 
        ${padpid+kill -HUP ${padpid}} 2>/dev/null || :



Home | Main Index | Thread Index | Old Index