]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core.git/commit
oeqa/target/ssh: Ensure EAGAIN doesn't truncate output
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 27 Jul 2023 14:17:32 +0000 (15:17 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sat, 29 Jul 2023 07:25:07 +0000 (08:25 +0100)
commita8920c105725431e989cceb616bd04eaa52127ec
treef36657e095f0af788910f4710394372aa2c43b9c
parentfc155090b8cfb62f1114b3e5f86fc4dacfb3bc89
oeqa/target/ssh: Ensure EAGAIN doesn't truncate output

We have a suspicion that the read() call may return EAGAIN on the non-blocking
fd and this may truncate test output leading to some of our intermittent failures.
Tweak the code to avoid this potential issue.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/lib/oeqa/core/target/ssh.py