All of lore.kernel.org
 help / color / mirror / Atom feed
From: Andrew Morton <akpm@linux-foundation.org>
To: Luiz Capitulino <luizcap@redhat.com>
Cc: Linux Memory Management List <linux-mm@kvack.org>,
	Mike Rapoport <rppt@kernel.org>,
	"David Hildenbrand (Red Hat)" <david@kernel.org>,
	Lorenzo Stoakes <ljs@kernel.org>,
	"Liam R. Howlett" <Liam.Howlett@oracle.com>,
	Vlastimil Babka <vbabka@kernel.org>,
	Suren Baghdasaryan <surenb@google.com>,
	Michal Hocko <mhocko@suse.com>, Shuah Khan <shuah@kernel.org>,
	linux-kselftest@vger.kernel.org,
	LKML <linux-kernel@vger.kernel.org>,
	Muhammad Usama Anjum <usama.anjum@arm.com>
Subject: Re: [PATCH] selftests/mm: run_vmtests.sh: fix destructive tests invocation
Date: Mon, 27 Apr 2026 09:12:50 -0700	[thread overview]
Message-ID: <20260427091250.61316471db20dfb0852141c1@linux-foundation.org> (raw)
In-Reply-To: <214fd9e4-5398-4c26-859e-c982c2e277c3@redhat.com>

On Mon, 27 Apr 2026 12:03:51 -0400 Luiz Capitulino <luizcap@redhat.com> wrote:

> Destructive tests should be invocated with -d command-line option, but
> this won't work today since 'd' is missing in getopts command-line. This
> commit fixes it.
> 
> Signed-off-by: Luiz Capitulino <luizcap@redhat.com>
> ---
> Mike,
> 
> Maybe it's a good idea to add this patch to your series since the
> hugetlb-read-hwpoison selftest won't work without your fix.

Or I can scoot it into mainline as a hotfix and Mike will pick it up
via Linus, soon?

It'd be good to have a Fixes:.  It looks like a3c5cc5129ef5 or
2bc4813622459?

>   tools/testing/selftests/mm/run_vmtests.sh | 2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/tools/testing/selftests/mm/run_vmtests.sh b/tools/testing/selftests/mm/run_vmtests.sh
> index d8468451b3a3..c17b133a81d2 100755
> --- a/tools/testing/selftests/mm/run_vmtests.sh
> +++ b/tools/testing/selftests/mm/run_vmtests.sh
> @@ -103,7 +103,7 @@ RUN_ALL=false
>   RUN_DESTRUCTIVE=false
>   TAP_PREFIX="# "
>   
> -while getopts "aht:n" OPT; do
> +while getopts "aht:nd" OPT; do
>   	case ${OPT} in
>   		"a") RUN_ALL=true ;;
>   		"h") usage ;;
> -- 
> 2.53.0

  reply	other threads:[~2026-04-27 16:12 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-04-27 16:03 [PATCH] selftests/mm: run_vmtests.sh: fix destructive tests invocation Luiz Capitulino
2026-04-27 16:12 ` Andrew Morton [this message]
2026-04-27 16:49   ` Mike Rapoport
2026-04-27 16:55     ` Luiz Capitulino
2026-04-27 16:58       ` Andrew Morton
2026-04-28  0:17 ` SeongJae Park

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=20260427091250.61316471db20dfb0852141c1@linux-foundation.org \
    --to=akpm@linux-foundation.org \
    --cc=Liam.Howlett@oracle.com \
    --cc=david@kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-kselftest@vger.kernel.org \
    --cc=linux-mm@kvack.org \
    --cc=ljs@kernel.org \
    --cc=luizcap@redhat.com \
    --cc=mhocko@suse.com \
    --cc=rppt@kernel.org \
    --cc=shuah@kernel.org \
    --cc=surenb@google.com \
    --cc=usama.anjum@arm.com \
    --cc=vbabka@kernel.org \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.