aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gdb/testsuite/gdb.python/tui-window-disabled.exp3
1 files changed, 3 insertions, 0 deletions
diff --git a/gdb/testsuite/gdb.python/tui-window-disabled.exp b/gdb/testsuite/gdb.python/tui-window-disabled.exp
index bee58a8..fc69b2b 100644
--- a/gdb/testsuite/gdb.python/tui-window-disabled.exp
+++ b/gdb/testsuite/gdb.python/tui-window-disabled.exp
@@ -186,7 +186,10 @@ proc run_test { cleanup_properly } {
Term::command "layout test"
Term::command "tui disable"
+
send_gdb "tui enable\n"
+ gdb_assert { [Term::wait_for "^$::gdb_prompt tui disable"] } "TUI renabled"
+
Term::check_box "check for python window" 0 0 80 16
}