Skip to content

Commit

Permalink
tools: firmware: rename fallback mechanism script
Browse files Browse the repository at this point in the history
Calling it user mode helper only creates confusion.

Signed-off-by: Luis R. Rodriguez <mcgrof@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
  • Loading branch information
Luis R. Rodriguez authored and Greg Kroah-Hartman committed Jan 25, 2017
1 parent afb999c commit 823b022
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion tools/testing/selftests/firmware/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
# No binaries, but make sure arg-less "make" doesn't trigger "run_tests"
all:

TEST_PROGS := fw_filesystem.sh fw_userhelper.sh
TEST_PROGS := fw_filesystem.sh fw_fallback.sh

include ../lib.mk

Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#!/bin/sh
# This validates that the kernel will fall back to using the user helper
# This validates that the kernel will fall back to using the fallback mechanism
# to load firmware it can't find on disk itself. We must request a firmware
# that the kernel won't find, and any installed helper (e.g. udev) also
# won't find so that we can do the load ourself manually.
Expand Down Expand Up @@ -117,7 +117,8 @@ if ! diff -q "$FW" /dev/test_firmware >/dev/null ; then
echo "$0: firmware was not loaded" >&2
exit 1
else
echo "$0: user helper firmware loading works"
echo "$0: fallback mechanism works"

fi

exit 0

0 comments on commit 823b022

Please sign in to comment.