On Tue, Jul 7, 2020 at 06:49 AM, Anibal Limon wrote:

> 
> First thanks for the patch, Is there an option to test for isatty(fd) for
> run ioctl instead?.
> 

Hi Anibal,

if (isatty(0) && ioctl(0, TIOCNOTTY) == -1)

would help for ssh case but not to errors between tests. There fd 0 is a tty 
but detach should
be done only once. Now it is inside loop. It could work if it was also moved 
outside the loop,
before PTEST_LIST_ITERATE_START?

Kind regards,

- Tero
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#49909): https://lists.yoctoproject.org/g/yocto/message/49909
Mute This Topic: https://lists.yoctoproject.org/mt/75351043/21656
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub  
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to