]> code.ossystems Code Review - openembedded-core.git/commit
runtime_test.py: correct output check for bash 5.1
authorAlexander Kanavin <alex.kanavin@gmail.com>
Mon, 28 Dec 2020 20:04:35 +0000 (21:04 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 20 Jan 2021 00:49:46 +0000 (00:49 +0000)
commitc25a1b16cc50e51ecf040c2c1db128e1dfceddec
tree905ed074567debe8c38376e7d25d22edfd1a037b
parent6de2152693c31ee1181e9eacc32b90dd63d4e0a9
runtime_test.py: correct output check for bash 5.1

Bash 5.1 inserts escape sequences into its output (specifically
disabling bracketed paste mode via \x1b[?2004l). I am not sure
if somehow terminal detection isn't working correctly there,
but in any case the marker is still in the output, but needs to
be checked by 'in' rather than exact equivalence.

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/lib/oeqa/selftest/cases/runtime_test.py