Module Name:    src
Committed By:   kre
Date:           Sat Dec 18 10:50:48 UTC 2021

Modified Files:
        src/tests/usr.bin/mixerctl: t_mixerctl.sh

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


To generate a diff of this commit:
cvs rdiff -u -r1.10 -r1.11 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.

Modified files:

Index: src/tests/usr.bin/mixerctl/t_mixerctl.sh
diff -u src/tests/usr.bin/mixerctl/t_mixerctl.sh:1.10 src/tests/usr.bin/mixerctl/t_mixerctl.sh:1.11
--- src/tests/usr.bin/mixerctl/t_mixerctl.sh:1.10	Tue Jul 25 22:28:22 2017
+++ src/tests/usr.bin/mixerctl/t_mixerctl.sh	Sat Dec 18 10:50:48 2021
@@ -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_head() {
 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 || :

Reply via email to