syscalls/removexattr02:skip the test if no xattr support
PATCH 1/1 syscalls/removexattr02:skip the test if no xattr support
From: Shuang Qiu <[email protected]>
Return TCONF if there is no xattr support in fs or mount without user_xattr option
--- .../kernel/syscalls/removexattr/removexattr02.c | 4 ++++ 1 file changed, 4 insertions(+)
testcases/kernel/syscalls/removexattr/removexattr02.c +4 -0
@@ -85,6 +85,10 @@ static void verify_removexattr(struct test_case *tc) {TEST (removexattr (tc->path, tc->name)); +if (TEST_RETURN ==-1 &&TEST_ERRNO ==ENOTSUP ) +tst_brkm (TCONF , cleanup,"No xattr support in fs or " +"mount without user_xattr option" ); +if (TEST_RETURN !=-1 ) {tst_resm (TFAIL ,"removexattr() succeeded unexpectedly" );return ;
Signature · 1 line
1.7.9.5
PATCH 1/1 syscalls/removexattr02:skip the test if no xattr support
----- Original Message -----
Quoted 9 lines
From: "shuang qiu" <[email protected]>
To: [email protected]
Sent: Friday, 24 June, 2016 5:36:02 AM
Subject: [LTP] [PATCH] syscalls/removexattr02:skip the test if no xattr supportFrom: Shuang Qiu <[email protected]>
Return TCONF if there is no xattr support in fs or mount without
user_xattroption
Why only in removexattr02? Should we do the same for removexattr01?
Regards,
Jan
PATCH 1/1 syscalls/removexattr02:skip the test if no xattr support
Quoted 9 lines · Jan Stancek
----- Original Message -----
Quoted 5 lines
From: "shuang qiu" <[email protected]>
To: [email protected]
Sent: Friday, 24 June, 2016 5:36:02 AM
Subject: [LTP] [PATCH] syscalls/removexattr02:skip the test if no xattr support
Quoted 5 lines
Quoted 4 lines
From: Shuang Qiu <[email protected]>
Return TCONF if there is no xattr support in fs or mount without
user_xattroptionWhy only in removexattr02? Should we do the same for removexattr01?
removexattr01 already handle such situation.
Thanks
Shuang
Quoted 3 lines
Regards,
Jan
PATCH 1/1 syscalls/removexattr02:skip the test if no xattr support
----- Original Message -----
Quoted 17 lines
From: "Shuang Qiu" <[email protected]>
To: "Jan Stancek" <[email protected]>
Cc: [email protected]
Sent: Friday, 24 June, 2016 3:20:32 PM
Subject: Re: [LTP] [PATCH] syscalls/removexattr02:skip the test if no xattr supportQuoted 10 lines · Jan Stancek
----- Original Message -----
Quoted 6 lines
From: "shuang qiu" <[email protected]>
To: [email protected]
Sent: Friday, 24 June, 2016 5:36:02 AM
Subject: [LTP] [PATCH] syscalls/removexattr02:skip the test if no xattr
support
Quoted 7 lines
Quoted 6 lines
Quoted 5 lines
From: Shuang Qiu <[email protected]>
Return TCONF if there is no xattr support in fs or mount without
user_xattr
optionWhy only in removexattr02? Should we do the same for removexattr01?
removexattr01 already handle such situation.
Sorry, I missed that. Pushed with curly brackets around if.
Regards,
Jan
Quoted 8 lines
Thanks
ShuangQuoted 3 lines
Regards,
Jan