diff options
Diffstat (limited to 'test/lib/library.exp')
-rw-r--r-- | test/lib/library.exp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/test/lib/library.exp b/test/lib/library.exp index c806d9c0..f5829226 100644 --- a/test/lib/library.exp +++ b/test/lib/library.exp @@ -862,6 +862,12 @@ proc start_interactive_test {} { if {[info exists OPT_BASH_XTRACE]} { init_bash_xtrace } + global OPT_TIMEOUT + if {[info exists OPT_TIMEOUT]} { + global timeout + verbose "Changing default expect timeout from $timeout to $OPT_TIMEOUT" + set timeout $OPT_TIMEOUT + } } |