Hi!
> Do not test EMLINK, if the filesystem has no subdir limit.
> 
> Signed-off-by: Sheng Yong <shengyo...@huawei.com>
> ---
>  testcases/kernel/syscalls/renameat/renameat01.c | 5 +++++
>  1 file changed, 5 insertions(+)
> 
> diff --git a/testcases/kernel/syscalls/renameat/renameat01.c 
> b/testcases/kernel/syscalls/renameat/renameat01.c
> index bb5e6df..b92f96d 100644
> --- a/testcases/kernel/syscalls/renameat/renameat01.c
> +++ b/testcases/kernel/syscalls/renameat/renameat01.c
> @@ -211,6 +211,11 @@ static void setup(void)
>  
>  static void renameat_verify(const struct test_case_t *tc)
>  {
> +     if (tc->exp_errno == EMLINK && max_subdirs == -1) {
> +             tst_resm(TPASS, "EMLINK test is not tested");

This is TCONF not PASS.


-- 
Cyril Hrubis
chru...@suse.cz

------------------------------------------------------------------------------
New Year. New Location. New Benefits. New Data Center in Ashburn, VA.
GigeNET is offering a free month of service with a new server in Ashburn.
Choose from 2 high performing configs, both with 100TB of bandwidth.
Higher redundancy.Lower latency.Increased capacity.Completely compliant.
http://p.sf.net/sfu/gigenet
_______________________________________________
Ltp-list mailing list
Ltp-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ltp-list

Reply via email to