Re: [PATCH v3 3/3] selftests/powerpc: Don't rely on segfault to rerun the test

2020-03-26 Thread Michael Ellerman
On Tue, 2020-02-11 at 03:38:31 UTC, Gustavo Luiz Duarte wrote: > The test case tm-signal-context-force-tm expects a segfault to happen on > returning from signal handler, and then does a setcontext() to run the test > again. However, the test doesn't always segfault, causing the test to run a >

[PATCH v3 3/3] selftests/powerpc: Don't rely on segfault to rerun the test

2020-02-10 Thread Gustavo Luiz Duarte
The test case tm-signal-context-force-tm expects a segfault to happen on returning from signal handler, and then does a setcontext() to run the test again. However, the test doesn't always segfault, causing the test to run a single time. This patch fixes the test by putting it within a loop and