Re: [PATCH v3 7/7] kunit: Add tests for fault

2024-04-23 Thread David Gow
On Mon, 22 Apr 2024 at 21:36, Guenter Roeck wrote: > > On 4/22/24 06:08, Mickaël Salaün wrote: > > On Fri, Apr 19, 2024 at 04:38:01PM -0700, Guenter Roeck wrote: > >> On Fri, Apr 19, 2024 at 03:33:49PM -0700, Guenter Roeck wrote: > >>> Hi, > >>> > >>> On Tue, Mar 19, 2024 at 11:48:57AM +0100, Mick

Re: [PATCH v3 7/7] kunit: Add tests for fault

2024-04-22 Thread Guenter Roeck
On 4/22/24 06:08, Mickaël Salaün wrote: On Fri, Apr 19, 2024 at 04:38:01PM -0700, Guenter Roeck wrote: On Fri, Apr 19, 2024 at 03:33:49PM -0700, Guenter Roeck wrote: Hi, On Tue, Mar 19, 2024 at 11:48:57AM +0100, Mickaël Salaün wrote: Add a test case to check NULL pointer dereference and make

Re: [PATCH v3 7/7] kunit: Add tests for fault

2024-04-22 Thread Mickaël Salaün
On Fri, Apr 19, 2024 at 04:38:01PM -0700, Guenter Roeck wrote: > On Fri, Apr 19, 2024 at 03:33:49PM -0700, Guenter Roeck wrote: > > Hi, > > > > On Tue, Mar 19, 2024 at 11:48:57AM +0100, Mickaël Salaün wrote: > > > Add a test case to check NULL pointer dereference and make sure it would > > > resul

Re: [PATCH v3 7/7] kunit: Add tests for fault

2024-04-19 Thread Guenter Roeck
On Fri, Apr 19, 2024 at 03:33:49PM -0700, Guenter Roeck wrote: > Hi, > > On Tue, Mar 19, 2024 at 11:48:57AM +0100, Mickaël Salaün wrote: > > Add a test case to check NULL pointer dereference and make sure it would > > result as a failed test. > > > > The full kunit_fault test suite is marked as s

Re: [PATCH v3 7/7] kunit: Add tests for fault

2024-04-19 Thread Guenter Roeck
Hi, On Tue, Mar 19, 2024 at 11:48:57AM +0100, Mickaël Salaün wrote: > Add a test case to check NULL pointer dereference and make sure it would > result as a failed test. > > The full kunit_fault test suite is marked as skipped when run on UML > because it would result to a kernel panic. > > Test

[PATCH v3 7/7] kunit: Add tests for fault

2024-03-19 Thread Mickaël Salaün
Add a test case to check NULL pointer dereference and make sure it would result as a failed test. The full kunit_fault test suite is marked as skipped when run on UML because it would result to a kernel panic. Tested with: ./tools/testing/kunit/kunit.py run --arch x86_64 kunit_fault ./tools/testi