[PATCH v2 4/6] kunit: Allow function redirection outside of the KUnit thread