]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core.git/commit
quilt: fix intermittent failure in faildiff.test
authorRoss Burton <ross.burton@arm.com>
Fri, 13 Jan 2023 16:57:02 +0000 (16:57 +0000)
committerSteve Sakoman <steve@sakoman.com>
Mon, 20 Feb 2023 15:51:44 +0000 (05:51 -1000)
commit2c9fe8c3bb1cc1883c7bd445d019b2107e85ab2b
tree7ef430f455011bf5db8b8718afd05e64ab924c37
parenta05c116c517e0700837c335d0691c3fcc4462dda
quilt: fix intermittent failure in faildiff.test

This test assumes that if a child process writes one line to stderr and
then another line to stdout, and stderr is redirected to stdout, that
the order the lines will be read is stable.

This isn't the case and occasionally the lines will be read in a
different order.  Change the test to ignore line ordering.

[ YOCTO #14469 ]

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 1ddbe4d2bd8d8da10dac8a054f130fcd1d242219)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
meta/recipes-devtools/quilt/quilt.inc
meta/recipes-devtools/quilt/quilt/faildiff-order.patch [new file with mode: 0644]