[PATCH 0/2] selftests: ALSA: pcmtest: Fix two test bugs
From: HyeongJun An
Date: Tue Oct 20 2026 - 06:24:07 EST
Two fixes for the pcmtest selftest. The first makes the playback tests
fail when a transfer fails. The second sizes the pattern buffer to the
4096 bytes the driver allows.
Tested on x86_64 with snd-pcmtest. All five tests pass as before. With
inject_trigger_err=1 the playback and ni_playback tests passed before
and now fail. With a 2000-byte pattern on channel 0 four tests failed
before and now pass.
HyeongJun An (2):
selftests: ALSA: pcmtest: Check the frame count of each transfer
selftests: ALSA: pcmtest: Make room for the longest fill pattern
.../selftests/alsa/test-pcmtest-driver.c | 25 +++++++++++--------
1 file changed, 15 insertions(+), 10 deletions(-)
--
2.43.0