aboutsummaryrefslogtreecommitdiffstats
path: root/tools/testing/selftests/firmware/fw_run_tests.sh
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2019-06-11 14:26:26 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2019-06-18 09:11:22 +0200
commit108ae07c50363d0768a4c2bb7454a717fd36af52 (patch)
tree641771fdfd6e8b67498c047871e4fa595ceb6f19 /tools/testing/selftests/firmware/fw_run_tests.sh
parentfirmware: Add support for loading compressed files (diff)
downloadlinux-dev-108ae07c50363d0768a4c2bb7454a717fd36af52.tar.xz
linux-dev-108ae07c50363d0768a4c2bb7454a717fd36af52.zip
selftests: firmware: Add compressed firmware tests
This patch adds the test cases for checking compressed firmware load. Two more cases are added to fw_filesystem.sh: - Both a plain file and an xz file are present, and load the former - Only an xz file is present, and load without '.xz' suffix The tests are enabled only when CONFIG_FW_LOADER_COMPRESS is enabled and xz program is installed. Signed-off-by: Takashi Iwai <tiwai@suse.de> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/testing/selftests/firmware/fw_run_tests.sh')
-rwxr-xr-xtools/testing/selftests/firmware/fw_run_tests.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/testing/selftests/firmware/fw_run_tests.sh b/tools/testing/selftests/firmware/fw_run_tests.sh
index cffdd4eb0a57..8e14d555c197 100755
--- a/tools/testing/selftests/firmware/fw_run_tests.sh
+++ b/tools/testing/selftests/firmware/fw_run_tests.sh
@@ -11,6 +11,7 @@ source $TEST_DIR/fw_lib.sh
export HAS_FW_LOADER_USER_HELPER=""
export HAS_FW_LOADER_USER_HELPER_FALLBACK=""
+export HAS_FW_LOADER_COMPRESS=""
run_tests()
{