diff options
Diffstat (limited to 'tests/tty.test')
-rw-r--r-- | tests/tty.test | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/tests/tty.test b/tests/tty.test index 6f2cb4b..5199e6a 100644 --- a/tests/tty.test +++ b/tests/tty.test @@ -1,10 +1,7 @@ source [file dirname [info script]]/testing.tcl -set havetty 0 -catch { - set havetty [expr {"tty" in [stdout -commands]}] -} -if {!$havetty || ![stdout isatty]} { +needs cmd {stdout tty} +if {![stdout isatty]} { skiptest " (aio tty)" } |