Messages in this thread | | | Date | Thu, 6 Apr 2023 09:35:14 -0500 | From | Rob Herring <> | Subject | Re: [PATCH v3 02/11] of: Add test managed wrappers for of_overlay_apply()/of_node_put() |
| |
On Mon, Mar 27, 2023 at 03:21:50PM -0700, Stephen Boyd wrote: > Add test managed wrappers for of_overlay_apply() that automatically > removes the overlay when the test is finished. This API is intended for > use by KUnit tests that test code which relies on 'struct device_node's > and of_*() APIs. > > KUnit tests will call of_overlay_apply_kunit() to load an overlay that's > been built into the kernel image. When the test is complete, the overlay > will be removed.
What if one wants to test the removal part itself?
Rob
| |