mixer(8) tests: Remove tests for deprecated control values

Fixes:		a28bb575c8 ("mixer(8): Deprecate some unintuitive control values")
Sponsored by:	The FreeBSD Foundation
MFC after:	1 week
This commit is contained in:
Christos Margiolis
2026-04-28 00:59:38 +02:00
parent e6d112bbbb
commit 54922e4ec8
+1 -17
View File
@@ -1,7 +1,7 @@
#
# SPDX-License-Identifier: BSD-2-Clause
#
# Copyright (c) 2024 The FreeBSD Foundation
# Copyright (c) 2024-2026 The FreeBSD Foundation
#
# This software was developed by Christos Margiolis <christos@FreeBSD.org>
# under sponsorship from the FreeBSD Foundation.
@@ -210,16 +210,6 @@ mute_body()
atf_check -o ignore -e empty mixer vol.mute=toggle
atf_check -o match:"=off" mixer vol.mute
# Test deprecated interface
atf_check -o ignore -e empty mixer vol.mute=0
atf_check -o match:"=off" mixer vol.mute
atf_check -o ignore -e empty mixer vol.mute=1
atf_check -o match:"=on" mixer vol.mute
atf_check -o ignore -e empty mixer vol.mute=^
atf_check -o match:"=off" mixer vol.mute
# Test wrong values
atf_check -o ignore -e not-empty mixer vol.mute=foobar
atf_check -o ignore -e not-empty mixer vol.mute=10
@@ -248,12 +238,6 @@ recsrc_body()
atf_check -o ignore -e empty mixer ${recsrc}.recsrc=set
atf_check -o ignore -e empty mixer ${recsrc}.recsrc=toggle
# Test deprecated interface
atf_check -o ignore -e empty mixer ${recsrc}.recsrc=+
atf_check -o ignore -e empty mixer ${recsrc}.recsrc=-
atf_check -o ignore -e empty mixer ${recsrc}.recsrc==
atf_check -o ignore -e empty mixer ${recsrc}.recsrc=^
# Test wrong values
atf_check -o ignore -e not-empty mixer ${recsrc}.recsrc=foobar
atf_check -o ignore -e not-empty mixer ${recsrc}.recsrc=10