public inbox for ltp@lists.linux.it
 help / color / mirror / Atom feed
From: Cyril Hrubis <chrubis@suse.cz>
To: ltp@lists.linux.it
Subject: [LTP] [PATCH v2] Add mincore() test for anonymous mappings
Date: Wed, 8 Jul 2020 16:42:01 +0200	[thread overview]
Message-ID: <20200708144201.GA20047@yuki.lan> (raw)
In-Reply-To: <20200706050828.5134-1-shwetha@zilogic.com>

Hi!
Pushed with minor chnages, thanks.

> Changes from v1:
> 	1.Changed testcase description.
> 	2.Checked ptr before executing SAFE_MUNMAP() in cleanup().
> 	3.Added a setup() fuction.
> 	4.Fixed formatting issues.
> 	5.Changed TPASS and TFAIL messages.
> 	6.Changed syntax for conditional statements. 

This part belongs right after the --- below, so that it's not included
in the final commit message.

> References: #461
> 
> Signed-off-by: Shwetha Subramanian. <shwetha@zilogic.com>
> Reviewed-by: Vijay Kumar B. <vijaykumar@zilogic.com>
> ---
>  runtest/syscalls                              |  1 +
>  testcases/kernel/syscalls/mincore/.gitignore  |  1 +
>  testcases/kernel/syscalls/mincore/mincore03.c | 83 +++++++++++++++++++
>  3 files changed, 85 insertions(+)
>  create mode 100644 testcases/kernel/syscalls/mincore/mincore03.c
> 
> diff --git a/runtest/syscalls b/runtest/syscalls
> index b4d523319..e0fe9f87e 100644
> --- a/runtest/syscalls
> +++ b/runtest/syscalls
> @@ -879,6 +879,7 @@ open_tree02 open_tree02
>  
>  mincore01 mincore01
>  mincore02 mincore02
> +mincore03 mincore03
>  
>  madvise01 madvise01
>  madvise02 madvise02
> diff --git a/testcases/kernel/syscalls/mincore/.gitignore b/testcases/kernel/syscalls/mincore/.gitignore
> index fdb2070e9..fcbe27eac 100644
> --- a/testcases/kernel/syscalls/mincore/.gitignore
> +++ b/testcases/kernel/syscalls/mincore/.gitignore
> @@ -1,2 +1,3 @@
>  /mincore01
>  /mincore02
> +/mincore03
> \ No newline at end of file

And I've added the missing newline here.

-- 
Cyril Hrubis
chrubis@suse.cz

      parent reply	other threads:[~2020-07-08 14:42 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-07-06  5:08 [LTP] [PATCH v2] Add mincore() test for anonymous mappings Shwetha Subramanian
2020-07-07 12:37 ` Jan Stancek
2020-07-08 14:42 ` 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=20200708144201.GA20047@yuki.lan \
    --to=chrubis@suse.cz \
    --cc=ltp@lists.linux.it \
    /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