Commit 04c826d0 authored by Takashi Iwai's avatar Takashi Iwai Committed by Greg Kroah-Hartman

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: 17980459 ("selftests: firmware: Add request_firmware_into_buf tests")
Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
Link: https://lore.kernel.org/r/20220421152908.4718-4-tiwai@suse.deSigned-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent b3625b13
...@@ -504,6 +504,7 @@ test "$HAS_FW_LOADER_COMPRESS" != "yes" && exit 0 ...@@ -504,6 +504,7 @@ test "$HAS_FW_LOADER_COMPRESS" != "yes" && exit 0
# test with both files present # test with both files present
$RUN_XZ -k $FW $RUN_XZ -k $FW
$RUN_XZ -k $FW_INTO_BUF
config_set_name $NAME config_set_name $NAME
echo echo
echo "Testing with both plain and xz files present..." echo "Testing with both plain and xz files present..."
...@@ -529,6 +530,7 @@ done ...@@ -529,6 +530,7 @@ done
# test with only xz file present # test with only xz file present
mv "$FW" "${FW}-orig" mv "$FW" "${FW}-orig"
mv "$FW_INTO_BUF" "${FW_INTO_BUF}-orig"
echo echo
echo "Testing with only xz file present..." echo "Testing with only xz file present..."
for i in $(seq 1 5); do for i in $(seq 1 5); do
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment