Re: [PATCH v10 6/6] selftests/mm: add hwpoison-panic destructive test
Breno Leitao <[email protected]> Fri, 31 Jul 2026 06:19:20 -0700
| Newsgroups | org.kernel.vger.linux-trace-kernel,org.kernel.vger.linux-doc,org.kernel.vger.linux-kernel,org.kernel.vger.linux-kselftest,org.kvack.linux-mm |
|---|---|
| Message-ID | <[email protected]> |
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@debian.org/