diff options
author | Steve Bennett <steveb@workware.net.au> | 2020-11-14 08:26:59 +1000 |
---|---|---|
committer | Steve Bennett <steveb@workware.net.au> | 2020-11-14 08:28:26 +1000 |
commit | ca82a575cd3624c46c225a508f84c71c07ec7b1b (patch) | |
tree | f96c6753ef51144591b8c3ae658fba5021ef35db /tests | |
parent | 7f4c05a1e76a114175587b0d0e2ed9613ab57fa4 (diff) | |
download | jimtcl-ca82a575cd3624c46c225a508f84c71c07ec7b1b.zip jimtcl-ca82a575cd3624c46c225a508f84c71c07ec7b1b.tar.gz jimtcl-ca82a575cd3624c46c225a508f84c71c07ec7b1b.tar.bz2 |
tests: aio tty: skip tests if stdout is not a tty
Fixes: #182
Signed-off-by: Steve Bennett <steveb@workware.net.au>
Diffstat (limited to 'tests')
-rw-r--r-- | tests/tty.test | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/tty.test b/tests/tty.test index 53bea2c..6f2cb4b 100644 --- a/tests/tty.test +++ b/tests/tty.test @@ -4,7 +4,7 @@ set havetty 0 catch { set havetty [expr {"tty" in [stdout -commands]}] } -if {!$havetty} { +if {!$havetty || ![stdout isatty]} { skiptest " (aio tty)" } |