public inbox for ltp@lists.linux.it
 help / color / mirror / Atom feed
From: Cyril Hrubis <chrubis@suse.cz>
To: Sheng Yong <shengyong1@huawei.com>
Cc: yanegomi@gmail.com, ltp-list@lists.sourceforge.net
Subject: Re: [LTP] [PATCH V2 2/3] syscall/renameat01: do not test EMLINK if subdir limit not availiable
Date: Thu, 15 Jan 2015 15:41:35 +0100	[thread overview]
Message-ID: <20150115144135.GB9499@rei> (raw)
In-Reply-To: <1421331671-231350-3-git-send-email-shengyong1@huawei.com>

Hi!
> Do not test EMLINK, if the filesystem has no subdir limit.
> 
> Signed-off-by: Sheng Yong <shengyong1@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
chrubis@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

      parent reply	other threads:[~2015-01-15 14:42 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <1421331671-231350-1-git-send-email-shengyong1@huawei.com>
     [not found] ` <1421331671-231350-2-git-send-email-shengyong1@huawei.com>
2015-01-15 14:41   ` [LTP] [PATCH V2 1/3] lib/tst_fs_link_count.c: check fs type and do not fill subdir if no limit Cyril Hrubis
     [not found] ` <1421331671-231350-3-git-send-email-shengyong1@huawei.com>
2015-01-15 14:41   ` Cyril Hrubis [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20150115144135.GB9499@rei \
    --to=chrubis@suse.cz \
    --cc=ltp-list@lists.sourceforge.net \
    --cc=shengyong1@huawei.com \
    --cc=yanegomi@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox