aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristos Margiolis <christos@FreeBSD.org>2026-04-27 22:59:38 +0000
committerChristos Margiolis <christos@FreeBSD.org>2026-04-27 23:00:46 +0000
commit54922e4ec8909829a7ca8d2158c2a514a06df094 (patch)
tree8c1d33fa7841424c43d778fc927772bdd2e8a414
parente6d112bbbbf0b09f0f18a85a0a3c6d5a49aff653 (diff)
mixer(8) tests: Remove tests for deprecated control values
Fixes: a28bb575c89c ("mixer(8): Deprecate some unintuitive control values") Sponsored by: The FreeBSD Foundation MFC after: 1 week
-rwxr-xr-xusr.sbin/mixer/tests/mixer_test.sh18
1 files changed, 1 insertions, 17 deletions
diff --git a/usr.sbin/mixer/tests/mixer_test.sh b/usr.sbin/mixer/tests/mixer_test.sh
index c48512db5ec7..da5f4d7566bc 100755
--- a/usr.sbin/mixer/tests/mixer_test.sh
+++ b/usr.sbin/mixer/tests/mixer_test.sh
@@ -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