]> git.baikalelectronics.ru Git - kernel.git/commit
selftests/efivarfs: Add checking of the test return value
authorZhao Gongyi <zhaogongyi@huawei.com>
Tue, 22 Nov 2022 11:26:26 +0000 (19:26 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 18 Jan 2023 10:40:54 +0000 (11:40 +0100)
commit2c809cb36f3516a88a89938c4ad2256042017582
tree7a5660e0fa3e249a5dd2af57fe1f11f2b2ce64c4
parenta224d52f60cb25d90b71e620f04d078404991770
selftests/efivarfs: Add checking of the test return value

[ Upstream commit c93924267fe6f2b44af1849f714ae9cd8117a9cd ]

Add checking of the test return value, otherwise it will report success
forever for test_create_read().

Fixes: 6a7ccc2583ce ("selftests/efivarfs: clean up test files from test_create*()")
Signed-off-by: Zhao Gongyi <zhaogongyi@huawei.com>
Signed-off-by: Shuah Khan <skhan@linuxfoundation.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
tools/testing/selftests/efivarfs/efivarfs.sh