Commit cc832a30 authored by Sergii Boryshchenko's avatar Sergii Boryshchenko Committed by Xinghua Yang
Browse files

DO NOT MERGE: Fix OsTest#test_xattr_Errno test on CTS

Since 4.9 kernel (6c6ef9f26e598fb977f60935e109cd5b266c941a), the mechanism
for calling xattr inode operations has changed. These changes led to the
incorrectness of the conditions checked in the test. This patch take into
account the aforementioned changes - softed the requirements for the
returned error codes and do not take into account the conditions under
which the test was performed (kernel version, user privileges).
Complementary to 52056d7b patch.

bug: 75319412
Test: libcore.io.OsTest
Change-Id: Ie74a8c5b8b9b60e6c60b69ed744c419c03f904aa
(cherry picked from commit aa84201f)
parent e1d35d1a
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment