selftests: firmware: fix verify_reqs() return value
authorLuis Chamberlain <mcgrof@kernel.org>
Thu, 7 Feb 2019 19:06:02 +0000 (11:06 -0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 10 Mar 2019 06:17:21 +0000 (07:17 +0100)
commitcd61d473f71f0188cbc5c5d0bd6dbdb8ec96018c
treedd75216f88408e28af42798025159fdb48b526bc
parent9765ec7f7a02299d8508f85085519d32ac330b82
selftests: firmware: fix verify_reqs() return value

commit 344c0152d878922365464b7140c74c2a5e073d99 upstream.

commit a6a9be9270c87 ("selftests: firmware: return Kselftest Skip code
for skipped tests") by Shuah modified failures to return the special
error code of $ksft_skip (4). We have a corner case issue where we
*do* want to verify_reqs().

Cc: <stable@vger.kernel.org> # >= 4.18
Fixes: a6a9be9270c87 ("selftests: firmware: return Kselftest Skip code for for skipped tests")
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
tools/testing/selftests/firmware/fw_lib.sh