Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

selftests: firmware: Fix the request_firmware_into_buf() test for XZ format

The test uses a different firmware name, and we forgot to adapt for
the XZ compressed file tests.

https://lore.kernel.org/all/20210127154939.13288-1-tiwai@suse.de/

Fixes: 1798045900b7 ("selftests: firmware: Add request_firmware_into_buf tests")
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Link: https://lore.kernel.org/r/20220421152908.4718-4-tiwai@suse.de
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

authored by

Takashi Iwai and committed by
Greg Kroah-Hartman
04c826d0 b3625b13

+2
+2
tools/testing/selftests/firmware/fw_filesystem.sh
··· 504 504 505 505 # test with both files present 506 506 $RUN_XZ -k $FW 507 + $RUN_XZ -k $FW_INTO_BUF 507 508 config_set_name $NAME 508 509 echo 509 510 echo "Testing with both plain and xz files present..." ··· 530 529 531 530 # test with only xz file present 532 531 mv "$FW" "${FW}-orig" 532 + mv "$FW_INTO_BUF" "${FW_INTO_BUF}-orig" 533 533 echo 534 534 echo "Testing with only xz file present..." 535 535 for i in $(seq 1 5); do