To fix buffer ordering problems. Signed-off-by: Aníbal Limón <anibal.li...@linaro.org> --- utils.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/utils.c b/utils.c index 01ee415..0813e3c 100644 --- a/utils.c +++ b/utils.c @@ -250,7 +250,8 @@ run_child(char *run_ptest, int fd_stdout, int fd_stderr) argv[1] = NULL; dup2(fd_stdout, STDOUT_FILENO); - dup2(fd_stderr, STDERR_FILENO); + // XXX: Redirect stderr to stdout to avoid buffer ordering problems. + dup2(fd_stdout, STDERR_FILENO); execv(run_ptest, argv); exit(1); -- 2.20.1 -- _______________________________________________ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto