-
Shaopeng Tan authored
When a process has buffered output, a child process created by fork() will also copy buffered output. When using kselftest framework, the output (resctrl test result message) will be printed multiple times. Add fflush() to flush out the buffered output before executing fork(). Reviewed-by:
Shuah Khan <skhan@linuxfoundation.org> Reviewed-by:
Reinette Chatre <reinette.chatre@intel.com> Signed-off-by:
Shaopeng Tan <tan.shaopeng@jp.fujitsu.com> Signed-off-by:
Shuah Khan <skhan@linuxfoundation.org>
a080b6e7