[Devel] [PATCH vz10] ms/selftests/sched_ext: flush stdout before test to avoid log spam

Konstantin Khorenko khorenko at virtuozzo.com
Wed Sep 2 18:15:06 MSK 2026


On Tue, 01 Sep 2026 01:44:27 +0300, Eva Kurchatova <eva.kurchatova at virtuozzo.com> wrote:
> The sched_ext selftests runner runs each test in the same process,
> with each test possibly forking multiple times. When the main runner
> has not flushed its stdout, the children inherit the buffered output
> for previous tests and emit it during exit. This causes log spam.
> 
> Make sure stdout/stderr is fully flushed before each test.
> 
> [...]

Reviewed-by: Konstantin Khorenko <khorenko at virtuozzo.com>

-- 
Konstantin Khorenko <khorenko at virtuozzo.com>


More information about the Devel mailing list