aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.base/style.exp
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/testsuite/gdb.base/style.exp')
-rw-r--r--gdb/testsuite/gdb.base/style.exp6
1 files changed, 6 insertions, 0 deletions
diff --git a/gdb/testsuite/gdb.base/style.exp b/gdb/testsuite/gdb.base/style.exp
index 2978d82..b72c2ab 100644
--- a/gdb/testsuite/gdb.base/style.exp
+++ b/gdb/testsuite/gdb.base/style.exp
@@ -44,4 +44,10 @@ save_vars { env(TERM) } {
gdb_test "break main" "file $base_file_expr.*"
gdb_test "print &main" " = .* <$main_expr>"
+
+ gdb_exit
+ gdb_spawn
+
+ gdb_test "" "\033\\\[35;1mGNU gdb.*\033\\\[m.*" \
+ "version is styled"
}