tools: firmware: check for distro fallback udev cancel rule
authorLuis R. Rodriguez <mcgrof@kernel.org>
Mon, 23 Jan 2017 16:11:07 +0000 (08:11 -0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 15 Nov 2017 14:53:19 +0000 (15:53 +0100)
commitfb705ebf996e180024d6f1b2342da61e33c2302f
treedc12f5dd7f0a821de6e74cd4005ee980a006197a
parentebf95a6f0286c0a77ba3c540f41e3d0bbc754e2a
tools: firmware: check for distro fallback udev cancel rule

commit afb999cdef69148f366839e74470d8f5375ba5f1 upstream.

Some distributions (Debian, OpenSUSE) have a udev rule in place to cancel
all fallback mechanism uevents immediately. This would obviously
make it hard to test against the fallback mechanism test interface,
so we need to check for this.

Signed-off-by: Luis R. Rodriguez <mcgrof@kernel.org>
Signed-off-by: Amit Pundir <amit.pundir@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
tools/testing/selftests/firmware/fw_userhelper.sh