mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-10-16 22:39:48 +00:00
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: ZhangXiaoxu <zhangxiaoxu5@huawei.com> Signed-off-by: Shuah Khan <shuah@kernel.org>
This commit is contained in:
parent
0a7dc82ef2
commit
f8a0590f0e
1 changed files with 4 additions and 0 deletions
Loading…
Add table
Add a link
Reference in a new issue