]> git.dujemihanovic.xyz Git - u-boot.git/commit
test: Avoid double echo when starting up
authorSimon Glass <sjg@chromium.org>
Tue, 12 Nov 2024 14:13:21 +0000 (07:13 -0700)
committerTom Rini <trini@konsulko.com>
Wed, 13 Nov 2024 18:01:35 +0000 (12:01 -0600)
commit5825ddccc6e5fc6bac1a91c3be013443d84a8aed
treee771833f66f2a504512c6b5fbe50dcf7c9955dfd
parentf32951df40ae0c5389a480dedba2b22ba0a39a05
test: Avoid double echo when starting up

There is a very annoying bug at present where the terminal echos part
of the first command sent to the board. This happens because the
terminal is still set to echo for a period until Labgrid starts up and
can change this.

Fix this by disabling echo (and other terminal features) as soon as the
spawn happens.

Signed-off-by: Simon Glass <sjg@chromium.org>
test/py/u_boot_spawn.py