commit | afb34e3d5ccb2e1b12dc6a25e015ea258618f53e | [log] [tgz] |
---|---|---|
author | Eugeniy Paltsev <Eugeniy.Paltsev@synopsys.com> | Sun Nov 29 21:28:28 2020 +0300 |
committer | Anas Nashif <anas.nashif@intel.com> | Tue Feb 02 18:41:12 2021 -0500 |
tree | 5af90170c273ff2b287e6d5427ffbfd22113d6eb | |
parent | 698db69307ec67bec5ea9509c8ddb715802c990a [diff] |
twister: check if output is connected to tty before 'stty sane' call As of today we unconditionally call 'stty sane' that leads to lots of error messages 'stty: standard input: Inappropriate ioctl for device' when output isn't connected to tty (for example when we launch twister in Jenkins) Fix that by check if output is really connected to tty before 'stty sane' call. Signed-off-by: Eugeniy Paltsev <Eugeniy.Paltsev@synopsys.com>