Skip to content
Commit 562b2917 authored by Jeremy Bettis's avatar Jeremy Bettis Committed by Carles Cufí
Browse files

twister: Set stdin explicitly on stty calls



stty operates on the file descriptor from stdin, but we want to operate
on stdout. If stdin and stdout are not the same tty then stty prints an
error.

Redirect stdout to stdin for stty calls.

Tested by running twister -T tests/subsys/shell </dev/null

Signed-off-by: default avatarJeremy Bettis <jbettis@google.com>
parent 605d8c85
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment