From f629457da977b54779bc4f22840b88e45dc302ea Mon Sep 17 00:00:00 2001 From: Joel Brobecker Date: Mon, 31 May 2010 23:20:20 +0000 Subject: [PATCH] subst.exp: Empty message (3rd parameter) in call to gdb_test This is something that Michael spotted and reported to me. Definitely a mistake, causing the test to report no status... gdb/testsuite: 2010-05-31 Joel Brobecker * gdb.base/subst.exp: Fix call to gdb_test with empty message. Tested on x86_64-linux. The test now reports 30 PASSes instead of 29. --- gdb/testsuite/ChangeLog | 4 ++++ gdb/testsuite/gdb.base/subst.exp | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index c96b4e08c75..5d50914ee4f 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -1,3 +1,7 @@ +2010-05-31 Joel Brobecker + + * gdb.base/subst.exp: Fix call to gdb_test with empty message. + 2010-05-31 Jan Kratochvil Accept the new Linux kernel "t (tracing stop)" string. diff --git a/gdb/testsuite/gdb.base/subst.exp b/gdb/testsuite/gdb.base/subst.exp index 2e7ee1a7876..b7f0ab2f504 100644 --- a/gdb/testsuite/gdb.base/subst.exp +++ b/gdb/testsuite/gdb.base/subst.exp @@ -110,7 +110,7 @@ gdb_test "unset substitute-path from" \ gdb_test "show substitute-path from" \ "Source path substitution rule matching `from':" \ - "" + "show substitute-path from, after unsetting it" gdb_test "show substitute-path" \ "List of all source path substitution rules:\r\n +`from1' -> `to1'.\r\n +`source' -> `destination'.\r\n\ +`depuis' -> `vers'.\r\n +`empty' -> `'." \ -- 2.30.2