selftests: efivarfs: remove the test_create_read file if it was exist
After the first run, the test case 'test_create_read' will always fail because the file is exist and file's attr is 'S_IMMUTABLE', open with 'O_RDWR' will always return -EPERM. Signed-off-by: NZhangXiaoxu <zhangxiaoxu5@huawei.com> Signed-off-by: NShuah Khan <shuah@kernel.org>
Showing
想要评论请 注册 或 登录