Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 823b0221 authored by Luis R. Rodriguez's avatar Luis R. Rodriguez Committed by Greg Kroah-Hartman
Browse files

tools: firmware: rename fallback mechanism script



Calling it user mode helper only creates confusion.

Signed-off-by: default avatarLuis R. Rodriguez <mcgrof@kernel.org>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent afb999cd
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -3,7 +3,7 @@
# No binaries, but make sure arg-less "make" doesn't trigger "run_tests"
# No binaries, but make sure arg-less "make" doesn't trigger "run_tests"
all:
all:


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


include ../lib.mk
include ../lib.mk


+3 −2
Original line number Original line Diff line number Diff line
#!/bin/sh
#!/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
# 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
# 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.
# won't find so that we can do the load ourself manually.
@@ -117,7 +117,8 @@ if ! diff -q "$FW" /dev/test_firmware >/dev/null ; then
	echo "$0: firmware was not loaded" >&2
	echo "$0: firmware was not loaded" >&2
	exit 1
	exit 1
else
else
	echo "$0: user helper firmware loading works"
	echo "$0: fallback mechanism works"

fi
fi


exit 0
exit 0