kselftest: alsa: Use private alsa-lib configuration in mixer test
authorJaroslav Kysela <perex@perex.cz>
Fri, 10 Dec 2021 18:54:10 +0000 (18:54 +0000)
committerTakashi Iwai <tiwai@suse.de>
Sun, 12 Dec 2021 09:04:30 +0000 (10:04 +0100)
commitb73dad806533cad55df41a9c0349969b56d4ff7f
tree757b2c5a3bc09d98f37ec6929ef4eabb46fd002f
parent7cc994f27e84cc94ce612d201c78763f93eab2c4
kselftest: alsa: Use private alsa-lib configuration in mixer test

As mentined by Takashi Sakamoto, the system-wide alsa-lib configuration
may override the standard device declarations. This patch use the private
alsa-lib configuration to set the predictable environment.

Signed-off-by: Jaroslav Kysela <perex@perex.cz>
Link: https://lore.kernel.org/r/20211208095209.1772296-1-perex@perex.cz
[Restructure version test to keep the preprocessor happy -- broonie]
Reviewed-by: Shuah Khan <skhan@linuxfoundation.org>
Signed-off-by: Mark Brown <broonie@kernel.org>
Link: https://lore.kernel.org/r/20211210185410.740009-4-broonie@kernel.org
Signed-off-by: Takashi Iwai <tiwai@suse.de>
tools/testing/selftests/alsa/mixer-test.c