Re: [PATCH v2 0/5] notifier error injection

Andrew Morton
2011-07-21T21:37:43Z

On Mon, 18 Jul 2011 10:16:01 +0900
Akinobu Mita <akinobu.mita@gmail.com> wrote:

> This provides the ability to inject artifical errors to the following
> notifier chain callbacks. It is useful to test the error handling of
> notifier call chain failures.

That all looks very nice, but I wonder how many people are actually
using these things. The injection framework itself doesn't seem to
have had a lot of uptake.

I wonder if we could improve things by adding an easy-to-run testing
script which identifies all the available error-injection inputs,
exercises them and then reports on the result?

Such a script would logically reside under ./tests/fault-injection/,
but we still don't have a tests/ directory. Which perhaps tells us
something ;)