diff --git a/testsuite/config/unix.exp b/testsuite/config/unix.exp index ecdc0bf7..08c446f3 100644 --- a/testsuite/config/unix.exp +++ b/testsuite/config/unix.exp @@ -205,5 +205,10 @@ proc get_tty {} { return "" } regexp "/dev/(.+)" $raw_tty > tty + if { $tty == "tty" } { + warning "TTY is tty" + return "" + } + return $tty }