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 As pad devices are now created on dem...
details: https://anonhg.NetBSD.org/src/rev/40d75265abcc
branches: trunk
changeset: 354899:40d75265abcc
user: nat <nat%NetBSD.org@localhost>
date: Mon Jul 03 09:08:35 2017 +0000
description:
As pad devices are now created on demand - pad has to be open for a
corresponding mixer to be available.
diffstat:
tests/usr.bin/mixerctl/t_mixerctl.sh | 7 ++++++-
1 files changed, 6 insertions(+), 1 deletions(-)
diffs (22 lines):
diff -r 89121d2c0f0c -r 40d75265abcc tests/usr.bin/mixerctl/t_mixerctl.sh
--- a/tests/usr.bin/mixerctl/t_mixerctl.sh Mon Jul 03 08:29:58 2017 +0000
+++ b/tests/usr.bin/mixerctl/t_mixerctl.sh Mon Jul 03 09:08:35 2017 +0000
@@ -1,12 +1,17 @@
-# $NetBSD: t_mixerctl.sh,v 1.5 2017/04/20 00:17:11 kre Exp $
+# $NetBSD: t_mixerctl.sh,v 1.6 2017/07/03 09:08:35 nat Exp $
atf_test_case noargs_usage
noargs_usage_head() {
atf_set "descr" "Ensure mixerctl(1) with no args prints a usage message"
}
noargs_usage_body() {
+ cat /dev/pad0 > /dev/null 2>&1 &
+ padpid=$!
+
atf_check -s exit:0 -o not-empty -e ignore \
mixerctl
+
+ kill -HUP ${padpid} 2>/dev/null
}
atf_test_case showvalue
Home |
Main Index |
Thread Index |
Old Index