From 09e4c4e1f1732ed978db4b8c75877bf8a8097ae9 Mon Sep 17 00:00:00 2001 From: Andrew Burgess Date: Fri, 14 Jun 2019 23:31:10 +0100 Subject: [PATCH] gdb: Remove file path from test name Having paths in test names makes comparing sum files difficult, rename a test to avoid paths in test names. gdb/testsuite/ChangeLog: * gdb.base/style-logging.exp: Remove path from test name. --- gdb/testsuite/ChangeLog | 4 ++++ gdb/testsuite/gdb.base/style-logging.exp | 3 ++- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index 0eb3db75fcb..ac292ab162b 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -1,3 +1,7 @@ +2019-06-15 Andrew Burgess + + * gdb.base/style-logging.exp: Remove path from test name. + 2019-06-14 Tom Tromey PR gdb/24502: diff --git a/gdb/testsuite/gdb.base/style-logging.exp b/gdb/testsuite/gdb.base/style-logging.exp index 1d7c3052c38..8415e17c494 100644 --- a/gdb/testsuite/gdb.base/style-logging.exp +++ b/gdb/testsuite/gdb.base/style-logging.exp @@ -44,7 +44,8 @@ save_vars { env(TERM) } { gdb_test_no_output "set style enabled on" set log_name [standard_output_file log.txt] - gdb_test_no_output "set logging file $log_name" + gdb_test_no_output "set logging file $log_name" \ + "set logging filename" gdb_test_no_output "set logging overwrite on" gdb_test "set logging on" "Copying output to .*" -- 2.30.2