Re: [PATCH v10 6/6] selftests/mm: add hwpoison-panic destructive test

From: Breno Leitao

Date: Fri Jul 31 2026 - 09:35:56 EST


On Wed, Jul 29, 2026 at 01:11:36PM +0200, David Hildenbrand (Arm) wrote:
> On 7/29/26 12:21, Breno Leitao wrote:
> > On Wed, Jul 29, 2026 at 11:09:11AM +0200, David Hildenbrand (Arm) wrote:
> >> Avoid bash scripts, please :)
> >
> > Sorry, I will try to control my fingers next time.
> >
> > Jokes aside, all the selftests I maintain
> > (tools/testing/selftests/drivers/net/netconsole) were done in bash, so,
> > I got totally biased.
>
> Ah, I see. The MM folks are not known to be bash experts, which is why we limit
> our bash scripts to a bare minimum (and focus on C tests).

Thanks for the guidance. I've rewritten the test in C and posted it:

https://lore.kernel.org/all/20260731-memory_failure_rewrite_test-v1-1-6aa8c6435693@xxxxxxxxxx/